putty / XP / Linux

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello: I have the following setup.

I am trying to setup an automated connection to the server so that I can use
it with WinCVS. The user that I am trying to connect as is NOT root.


Client side (Win XP (with SP2))
C1. Tried to run Putty (or plink) with password authentication and that
works fine.
C2. Generated the public and private keys (SSH-2 RSA) using puttygen, and
copied the public key to ~/.ssh/authorized_keys for the user account that I
am logging into.
C3. Loaded the private key with passphrase in Paegent...and it is running.
C4. Trying to connect with Putty
 Session.Hostname: <value>, Session.Protocol? <ssh>
 Connection.Data.Auto-login username: <value>, Connection.SSH.Preffered
SSH..: 2 only
 Connection.SSH.Auth.Allow agent...: true

Server (Fedora Core 4) - I have root access on this box
S1. sshd is running
S2. /etc/ssh/sshd_config has the following
     PasswordAuthentication no (when I change to yes and re-start the
daemon, I can log in as mentioned in C1)
  RSAAuthentication yes
  PubkeyAuthentication yes
  AuthorizedKeysFile .ssh/authorized_keys
  Protocol 2
  ListenAddress   IP for server (it only has one n/w card but since FC4 has
the IPv6 binding this helps)
  UsePAM yes (I tried no...that did not help)


=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2005.07.12 17:46:46
Using username "<user name I entered>".
No supported authentication methods left to try!

This message is in the /var/log/messages file

Jul 12 18:46:25 localhost sshd[...] Connection from a.b.c.d port 1582

Every time I try to connect to it, that number changes by 1.

My question is, how can I get the connection to work?


Re: putty / XP / Linux

Quoted text here. Click to load it

You didn't copy the key file itself, did you?  You have to cut and
paste from puttygen the text in the box labeled "Public key for
openssh" or some such.

If you lost the text, just run puttygen again and load the key file
instead of generating a new one.

pa at panix dot com

Re: putty / XP / Linux

Thank you for your response. That was indeed the problem. Things are working
fine now.

Quoted text here. Click to load it

Site Timeline