Wednesday, August 26, 2015

ssh FAQ



Disconnect - Stop ssh shell from timing out, see here:
http://www.howtogeek.com/howto/linux/keep-your-linux-ssh-session-from-disconnecting/

.ssh/config - Use this to remember things for you
An a example:

Host debug1profile
    HostName debug1.fake.com
   User fakeuserNameToLoginAs
   IdentityFile /xxx/keyToUseWithThatHost.pem

With a config like that just do this to login (it grabs all the needed values from the config file)

ssh debug1profile


No comments:

Post a Comment