securecrt fix to ssh to 5.3

dave dmehler26 at woh.rr.com
Mon Nov 22 13:04:48 PST 2004


Hello,
    Just info for user's of securecrt who are trying to connect to a 5.3
box. Firstly, PasswordAuthentication is the setting you have to change in
sshd_config to continue to use passwords. I don't know what
ChalengeResponseAuthentication does, but it adds several password login
prompts so i turned it off. On the server use ssh-keygen to generate a key.
On your windows box use SecureCRT to generate a key. Go to options, global
options, and ssh2, and click the create public key button. Follow the
onscreen prompts i would recommend a passphrase but that's up to you. When
your done upload the public version of the key mine was satellite.pub to the
server. I tried the cat command to get it in to the authorized_keys file,
this did not work. The fix run this:
ssh-keygen -f /path/to/file.pub -i > ~/.ssh/authorized_keys
or if authorized_keys already exists do:
ssh-keygen -f /path/to/file.pub -i >>
~/.ssh/authorized_keys
that should be on one line. In securecrt change your login from password to
public key. HTH
Dave.



More information about the freebsd-questions mailing list