.ssh/config example

Like me if you find yourself logging on to many hosts with different ports and prefer a shorrname, .ssh config’s can be very useful.

Host home
User cs3
Port 8075
IdentityFile ~/.ssh/my-custom-pem-file.pem
HostName home.cs3.in

Now, ssh home would do the trick.

Advertisement

About C S Shyam Sundar

I'm a thief; I am the will of independence; I am the power of persona; I am the creation of my environment; I am the pursuit of more; I know this, because I thrive on intelligence.

Posted on May 7, 2010, in thoughtpad and tagged , , . Bookmark the permalink. Leave a Comment.

Leave a Reply

Please log in using one of these methods to post your comment:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.