Re: PuTTY SSH w/o a Password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 11, 2003 02:48 pm, L. Christopher Luther wrote:
> I'm trying to use PuTTY to connect to a RH 8 box using SSH and a
> password-less private key file.  I have no trouble using PuTTY to connect
> to this same server using SSH and password authentication -- it's only when
> I use private/public key files.
>
> I used the puttygen program to generate an RSA public and private key (I
> also tried DSA keys), and put the resulting public key file in the RH
> user's ~/.ssh/authorized_keys file.
>
> The ~/.ssh directory has mode 700 and authorized_keys has mode 644 (I also
> tried mode 640).  These modes were chosen because I searched the
> redhat-list archives and discovered that someone else was receiving
> "Authentication refused: bad ownership or modes for ..." messages.
>
> These messages are now gone, but PuTTY now displays the following messages:
>
>     Using username "user".
>     Server refused our key
>     user@myserver's password:
>
> I launch putty specifying the user name (-l username), private key file (-i
> private.ppk), and saved session (-load myserver).  Any suggestions or
> ideas?
>

Hi,
Have you checked /var/log/secure on the server?

I have had scp w/ key auth in scripts from Linux clients to push dump files 
onto a Windows servers. There were a few issues.
The rather old doc is at  http://www.linux1.ca  look in Documents at "SSH/SCP 
via Key Authentication HOWTO" (you can't just type the whole thing in as a 
url, sorry)
There may, or may not be anything useful there. It is Linux to Windows though 
nothing to do with putty, so it may not help.

Better to check the logs first.
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux