Re: beginner can't get public key auth.

From: Robert Nikander (nik-spamprotecter-ander@nc.rr.com)
Date: 01/27/03


From: Robert Nikander <nik-spamprotecter-ander@nc.rr.com>
Date: Mon, 27 Jan 2003 02:30:30 GMT

Richard E. Silverman wrote:
> Check that you put the public key on the server, not the private one.
>
> Check the sshd syslog messages on the server.
>
> Check that ~, ~/.ssh, and ~/.ssh/authorized_keys are owned by you and not
> group or world-writable.
>

Thank you, that was it -- ~/.ssh and authorized_keys were group
writeable. I still can't do it with my ISP's server, so I'll have to
ask them if they have sshd configured differently.

Rob



Relevant Pages

  • Re: SSH
    ... The server has both a private and public key. ... the server sends you its public key. ... Once you have a session key, you can begin secure two-way communication. ...
    (sci.crypt)
  • Re: How to encrypt/decrypt a file
    ... in the code I just completed, the client is actually doing the encryption with the public key and the server decrypts with the private. ... I created a public/private key pair that gets stored in a Key Container on the server. ... The client is given the public key so they can decrypt stuff the server encrypted with its private key. ...
    (microsoft.public.dotnet.security)
  • Re: .NET WSE and Java Client
    ... These examples always generate a private and a public key. ... In my case the UsernameToken will be used to encrypt and sign the ... if the server knows the password for the user, ...
    (comp.lang.java.security)
  • Re: Public key auth problems
    ... > Well, the trace shows that it is trying publickey authentication, and the ... Check the sshd syslog messages on the server ... provide the correct passphrase, the server rejects me immediately - however, ...
    (comp.security.ssh)
  • Re: beginner cant get public key auth.
    ... Check that you put the public key on the server, not the private one. ... Check the sshd syslog messages on the server. ...
    (comp.security.ssh)