News for hackers. Stuff that matters.
Re:OpenSSH Server Best Practices (security related) by dkokelley on Tuesday October 23, 2012 @02:41PM (#4689600)
The password is not what is used to authenticate to the ssh remote. The ssh private key is still used, it's just locked on the client side. You unlock the private key with the passphrase, and then use the unlocked (unencrypted) key to authenticate to the remote.

By using a password-free key, your private key is sitting in plain text on your local machine, which is a potential security risk.

(Apologies is your question is more nuanced than my understanding.)

Re:OpenSSH Server Best Practices (security related) by maximilian on Tuesday October 23, 2012 @03:33PM (#4689961)
So, the private key is encrypted on the client side, which requires that the user type their key-password in, so that the client can send the private key in order to authenticate?

I generally use ssh keys so that I dont have to type my password in 50 times a day. Can this be done with a key-password, or does this defeat the entire purpose of having a key-password?

Re:OpenSSH Server Best Practices (security related) by wiredfool on Tuesday October 23, 2012 @03:38PM (#4689984)
You can add it to ssh-agent, and it will be kept open for new connections to use.( and, even allow you to extend the keyed login to the next hop) Some desktops will do this automatically, Some are setup to ask for the password each time.
Re:OpenSSH Server Best Practices (security related) by jiggy2011 on Tuesday October 23, 2012 @04:11PM (#4690119)
Something I've considered doing is creating a truecrypt volume and somehow sticking all of my pre-shared keys and stored credentials in there, for SSH keys , wifi keys , lastpass & dropbox credentials etc.

So I can mount the volume and be logged automatically into everything then dismount when I'm done.

It's just the pain of rounding all of the various files up.

Re:OpenSSH Server Best Practices (security related) by sneak on Wednesday October 24, 2012 @12:25PM (#4693623)
Or just use ssh-agent, encrypt your key, and store everything per-file encrypted in Dropbox like everyone else does.

OSX Keychain stores wifi keys encrypted on disk with a key derived from your user account password.

The only passwords I need to remember are my for my GPG key, my ssh key, Dropbox, and 1Password. Oh, and my user account.

Re:OpenSSH Server Best Practices (security related) by jiggy2011 on Wednesday October 24, 2012 @02:16PM (#4694243)
I'd rather not use per file encryption with dropbox because that could break syncing in big files.

The idea would be to have everything auto-login when the drive is mounted and nothing auto-login when it is not.