[EMAIL PROTECTED],

I am trying to install the client side and server side version of SSH2.
The problem I am running into to, is that I am unsure of how to use the
public and private keys. 

Everything works great with just password auth, but when I try to do auth
though key exchange it gives the error:

Disconnected; authentication error (No further authentication methods  
available.).

I run the ssh-keygen2 program and it creates a public and private it key.
I rename the public key to key1.pub and the private key to key1.  The
question is, what do I do with these keys?  I assume I put both keys in
~/.ssh2/key1.pub and ~/.ssh2/key2.pub for the cleint?

For the server I put the public key in /etc/ssh2/key1.pub and put the
line: key1.pub in the authorization file?

I tried this and varies of this but can't get it to work for the life of
me, I am not getting who to /USE/ private and public keys, I some what
understand the concept of them  though.

Everything else works, if it is set for password only auth, it works
GREAT, but when I try to use only key auth or require key auth it breaks.

I read a bunch of articles on the first Secure shell but don't think it
applied to version 2 which I am running...

Bud

Reply via email to