SSH Profiles with myssh

I have a hard time remembering IP addresses of the servers I maintain. Some of them are connected to a specific network only (meaning it’s possible to have two machines have the same IP address). To make it easier for me, I wrote some scripts to do all almost all the memorizing for me.

Download the files, extract and copy myssh* to /usr/bin and you’re good to go. To add a host, use myssh_write:

myssh_write yourlabel somehost someuser 22

The user and port are optional. They default to your username and port 22 respectively.

To connect to somehost, use myssh:

myssh yourlabel

You can make it even easier by adding an alias to your bashrc, alias ssh='myssh', and using SSH keys.

Download: myssh.tar.gz

P.S. I wrote the two scripts in PHP. I have a hundred reasons to do this in Python but I just got too lazy to experiment. I’ll have it ported next week.

Viewing 2 Comments

close Reblog this comment
blog comments powered by Disqus
Locations of visitors to this page
De La Salle Canlubang Top Sites top blogs Best blogs on the Web: all about WWW