You need to do the following on the client side. You could use rsa also by replacing dsa with rsa.

    ssh-keygen –t dsa

This would generate the  following files

id_dsa, id_dsa.pub,

these files would be generated in the $HOME/.ssh of the user account on the client side.

Copy the id_dsa.pub into the authorized_keys2 file on the server side, if you have multiple clients connecting to the server then file keeps getting appended with the id_dsa.pub from each of those client.

 

-Lakshmi

 

-----Original Message----- 
 
From: David Baldwin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 10:42 AM
To: [EMAIL PROTECTED]
Subject: hostkeys

Sorry for the simple question

How do I create the hostkeys.  I know I have to cut and paste them from the file created to ssh_known_hosts2 but how do I get the original *.pub files.

Pleas help

Thanks

Dave Baldwin

  • hostkeys David Baldwin
    • MANDALEEKA,LAKSHMI (HP-Cupertino,ex1)

Reply via email to