[SunHELP] ssh2 key auth.
Ben Ricker
bricker at wellinx.com
Tue Jul 9 16:51:41 CDT 2002
You need to create a file on the server you are trying to access with
key authentication called 'authorized_keys2' or 'authorized_keys',
depending on what version of ssh you use. In that file, paste the
contents of the id_dsa_1024_a.pub key into the file.
Another thing you can try is to use the '-v' option when ssh'ing from
the client. For example: 'ssh -v user at host'. This will output verbose
information about the connection and you might catch a problem that way.
The www.openssh.com site has a good man page for ssh which gives you a
run-down on the authentication protocol.
HTH,
Ben Ricker
Web Security Administrator
Wellinx.com
On Tue, 2002-07-09 at 16:38, Markham, Richard wrote:
> trying to get ssh2 key authentication working.
> I've ran ssh-keygen on the server which created these files:
>
> Private key saved to /opt/home/luser/.ssh2/id_dsa_1024_a
> Public key saved to /opt/home/luser/.ssh2/id_dsa_1024_a.pub
> I've duplicated these files onto a client box, same dirs.
>
> I haven't established what I need to do next as it continues
> to ask me for a password when I ssh.
>
> Help appreciated.
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list