Passwordless Logins over ssh

Print
Written by tek  |  Category: How-to's and Hints
 |  Published Date
 |  Published Date  |  Hits: 6321
I wrote this up for the documentation on a mysql backup script i wrote called MySQL SaviorĀ  tthat can do several things. It can backup up your mysql database and email it off to you. It can also be setup via scp to transfer really large backups to a remote server via ssh using passwordless logins. Here is how you can setup ssh keys for passwordless logins.

 

Postfix tips, trixs and fixes

Print
Written by tek  |  Category: How-to's and Hints
 |  Published Date
 |  Published Date  |  Hits: 10914
Just ran across one i have not seen before, so here it is. Testing out a mailserver and trying to find out how and why stuff is bouncing. Here is the message i was seeing when telneting onto port 25 from the outside AND the inside:
brain:/home/tek# telnet mail.example.com 25
Trying 67.100.xxx.xxx...
Connected to mail.example.com.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix (Debian/GNU)
HELO groovemaster.com
250 mail.example.com
Mail From:This email address is being protected from spambots. You need JavaScript enabled to view it.
501 5.1.7 Bad sender address syntax

This always worked in the past, not sure when but at some point there is another config variable i had implemented to filter spam and now its causing me grief with a few clients.

Busting Beats from a Bill - Free Box

Print
Written by tek  |  Category: How-to's and Hints
 |  Published Date
 |  Published Date  |  Hits: 5608
Finally, I find myself getting back into mixxing behind the wheels of steel yet again after a hiatus of a couple of years. funny what a wife will put you through.
Anyway during that time away i completely turned away from the darkside and well.... YES, i quit using microsoft windows.

WOW, yes its nice. but i am now starting to get back into the music stuff.... oh ipod, yes, mostly full of books on MP3 and its been syncing with linux for, well i think since i first brought it back from my japan trip a few years ago, that is the easy shit.

Fun with Debian

Print
Written by tek  |  Category: How-to's and Hints
 |  Published Date
 |  Published Date  |  Hits: 6210
I have been working more and more with Debian and while i started out years ago on debian and then went and played with everything else i find myself amazed by how sweet debian can be when you have the basics down. Debian is a very network dependant OS and that swords cuts both ways but the power of it is awe inspiring when wielded properly. The fun part is finding sources for programs not provided in debian main. The best starting point is usually http://www.apt-get.org. One of the issues here though is GPG keys. Someone else is packaging these programs up and signing or not signing them and your going to install them. Check out the source, most people working with debian are quite visible and if they are unsigned i tend to be weary. If they pass the test though and hopefully are signing their packages you can import their key easily enough.