ssh localhost without passphrase

Rashkae ubuntu at tigershaunt.com
Thu Dec 11 18:43:15 UTC 2008


Chaman Singh Verma wrote:
> Hello,
> 
>>From the root window, I can do ssh localhost, but after that it ask for
> passphrase. How can I disallow passphrase recursively ?
> 

What do you mean disallow passphrase recursively???

Note that the passphrase you are being asked for here is the passphrase
on your key file, and not the password for the root account on the
computer you are connected to....

You can't really disallow passphrased protected keys from the server.
In theory, the server doesn't even know whether the key being used was
passphrase protected or not.

You can use ssh-keygen to create a new key that is not passphrase
protected.  This is considered less secure, because anyone who happens
to get a copy of your private key file could then abuse it.  It is,
however, necessary to create such unprotected keys for certain special
cases (such as when you need to use an ssh key from within an
non-interative script, like rsnapshot, for example)






More information about the ubuntu-users mailing list