Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create quick-access ssh shortcuts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create quick-access ssh shortcuts
Authored by: oliverlangan on Aug 21, '06 05:26:37PM
I also had the same problem of having to enter passwords all the time, but I think a cleaner (and built-into-ssh) way than putting actual passwords into text files is to set up an ssh identity (using ssh-keygen), and then putting the public key for that identity on all the machines you want to log into. It takes some initial setup, but it is much more secure and even works when the account password to the machine changes (it is using the key to negotiate the encryption, not the password).

The key will also be used automatically for SFTP (including in programs like Interarchy, Transmit, etc) and can be used to log into multiple accounts with different logins on the target machines.

There are some good how-to documents on setting this up, e.g.,
http://www.zettai.net/Support/Howto/sshKeyHowto


[ Reply to This | # ]