SSH v2 sans password prompting...

Ben Boulanger ben at blackavar.com
Wed Sep 4 10:24:29 EDT 2002


On Wed, 2002-09-04 at 10:14, Ken Ambrose wrote:
> How do I get logged in to a remote host, via ssh, w/o password prompting,
> a la the rhosts file?  I can do it with SSH v1, but v2 seems to give me
> some problems.  I've plugged the public key into the authorized_keys file,
> but no dice.  Any suggestions?

Here's my procedure.  I only use the commercial version of ssh (for
various reasons), so this is only good for that... not OpenSSH.


* run ssh-keygen locally.
* You may wish to rename the keypair files
* create a file named ~/.ssh2/identification with the following
structure:
     IdKey  [private key filename]
* copy your local public key to the remote host as .ssh2/user-host.pub
(replace this with your local user and local hostname)
* create a file named ~/.ssh2/authorization on the remote machine with
the following structure:
     Key  [filename of the public key that you copied to the machine] 




More information about the gnhlug-discuss mailing list