"Chad R. Henry" <[EMAIL PROTECTED]> writes:

> Okay, call me slow, but I'm having trouble setting up Public Key 
> access to OpenSSH on my RH 7.0 machine.  
> 
> According to the Secure CRT documentation, I cannot use ssh-
> keygen on the server to creat my public key, because it says it can't 
> understand the format.  Following the instructions in the SecureCRT 
> help only gets my login rejected with a message stating that the 
> server does not recognize my public key.
> 
> Has anyone else set this up?  Can you give me some pointers here?

The OpenSSH key format is different from the commercial ssh key format.
I'd guess that SecureCRT requires the connercial ssh key format. Also,
OpenSSH ssh-keygen creates RSA keys by default, and the commercial ssh 
uses DSA keys.

To create a DSA key for OpenSSH use the -d option:

    ssh-keygen -d

This will save the key in the file id_dsa (and id_dsa.pub) in ~/.ssh.

To display this in the commercial key format, use the -x option:

    ssh-keygen -x -f ~/.ssh/id_dsa

Note that you're passing in the private key filename, and it prints the
public key in the commercial key format.


--
John Abreau / Executive Director, Boston Linux & Unix 
ICQ#28611923 / AIM abreauj / Email [EMAIL PROTECTED]





**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to