Posted by Paul on Jun 21, 2008 in Uncategorized
I’ve been noodling with SSH to make my life easier at work. One thing I found out about was how to make host aliases in your SSH config file. (It’s usually located at ~/.ssh/config). And it’s pretty easy to do. Here’s an example: Host webhost User host_user HostName example.com IdentityFile ~/.ssh/some_id_dsa The reason this is [...]
Tags: Computers, Configuration, SSH, Unix
Posted by Paul on Apr 29, 2008 in Uncategorized
I just had a problem to solve: Compare two server config files on two servers to make sure they’re the same. Rather than using scp to copy the file from one machine to another, I used ssh’s ability to run commands remotely to get the contents of the file and piped it into diff. Here’s [...]
Tags: command, Computers, diff, remote, shell, Unix
Posted by Paul on Jul 25, 2007 in Uncategorized
At work I’ve got a bunch of SSH logins across multiple systems. Now, I’ve got my password generator, and that’s been a big help, but I don’t want to have to go around entering passwords every time I want to log into a system, so I decided to set up SSH keys. The only problem [...]
Tags: Computers, Mac OS X, SSH, Unix