Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 16:04:06 -0500
From:      "dave" <dmehler26@woh.rr.com>
To:        <freebsd-questions@freebsd.org>
Subject:   securecrt fix to ssh to 5.3
Message-ID:  <002101c4d0d6$cff7d180$0200a8c0@satellite>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101c4d0d6$cff7d180$0200a8c0>