Re: SSH v2 sans password prompting...

2002-09-04 Thread Ben Boulanger

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] 

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: SSH v2 sans password prompting...

2002-09-04 Thread Rich Payne

On Wed, 4 Sep 2002 [EMAIL PROTECTED] wrote:

 
 In a message dated: Wed, 04 Sep 2002 07:14:31 PDT
 Ken Ambrose said:
 
 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?
 
 I think v2 forces use of the v2 protocol over the v1 protocol.  You 
 can create a ~/.ssh/config file which specifies 'Protocol 1,2'.
 But that's relatively insecure.
 
 The better way to do it is to create v2 keys using 'ssh-keygen -t dsa'.
 You can then place your new v2/dsa key into authorized_keys.

In the case of ssh2 I think the file is called authorized_keys2. At least 
it is on my system.

--rdp

-- 
Rich Payne
http://talisman.mv.com

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss