Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How to slogin (ssh) without a password?
January 5, 2007, 4:01 am
rate this thread
having plain text passwords in the scripts. I just spent an agonizing
evening trying to get slogin to work (it supposedly works without
passwords). After all that work, slogin keeps asking me for a
passphrase. I'm back to square-one with a plain text passphrase in the
script. Apparently, I can have a script put the passphrase into
ssh-agent (again back to square-one).
Am I reading things wrong or is it a total fallacy that slogin allows
you to getaway without a password or passphrase?
I find it bizarre that, after all the work of putting keys on both
machines, that you have to go all the way back to the passphrase???
The two keys should be more than secure enough. It's like putting a
steel vault door on the front of your house, while leaving the back
- Richard E. Silverman
January 6, 2007, 4:05 am
Re: How to slogin (ssh) without a password?
AK> Chuck wrote:
>> Allen Kistler wrote:
>>> Use public key authentication. Don't put a passphrase on the key.
>> Too dangerous for my liking. Anyone who gets access to the file
>> can authenticate as you for as long as the keypair exists and never
>> needs to know a passphrase. ssh-agent or keychain is safer.
AK> With ssh-agent and keychain, you still need to enter a password to
AK> unlock the key once every time you login. The OP considers once
AK> to be one time too many. He needs zero so automated processes can
AK> launch ssh sessions.
Another approach is to have the automated processes use an agent, which is
loaded once by a human with a passphrase. Means someone has to redo that
when the machine reboots, of course.
- » How to avoid "Connection to <host> closed" with -t?
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum