Re: Putty publickey connection to OpenSSH failing

From: Jonathan (jonathanNOFISH@sprintmail.com)
Date: 04/22/03


From: "Jonathan" <jonathanNOFISH@sprintmail.com>
Date: Tue, 22 Apr 2003 15:08:56 -0400

I have used public key authentication using Putty/Pageant to OpenSSH servers
no problem, so this should work for you.

I don't know the root of your specific problem, but since you're running an
OpenSSH that's ~3 years old, I would dump it and update to the latest
(3.6.1p1). There have been a lot of features and bugfixes since 2.1.1!!

good luck...
Jonathan

"Lee Meeker" <lee.meeker@acm.org> wrote in message
news:b80qo6$3rb$1@news01.intel.com...
> I've tried several things to get public/private key authorization working
> with Putty. I'm trying to connect with Putty 0.53b on a Windows 2000
laptop
> to a Redhat 7.0 server running OpenSSH (openssh-server-2.1.1p4-1). I know
> the keys are good since I can use them with ssh through cygwin to get to
the
> server, but putty just doesn't seem to want to work. I've also tried
several
> of Putty's SSH "bug auto/on/off" settings. Does anyone know of a problem
> with this setup? See the output below for details...
>
> Thanks for any insight,
>
> Lee Meeker
>
>
>
>
>
> Looking up host "server"
>
> Connecting to x.x.x.x port 22
>
> Server version: SSH-1.99-OpenSSH_2.1.1
>
> We claim version: SSH-2.0-PuTTY-Release-0.53b
>
> Using SSH protocol version 2
>
> Doing Diffie-Hellman key exchange
>
> Host key fingerprint is:
>
> ssh-dss 1024 9f:bc:16:0b:1e:12:40:db:cf:30:ac:e7:d8:03:e3:4f
>
> Using username "username".
>
> Reading private key file "putty_id_dsa.PPK"
>
> Offered public key
>
> Offer of public key accepted
>
> Authenticating with public key "imported-openssh-key"
>
> Passphrase for key "imported-openssh-key":
>
> Access denied
>
> Access denied
>
> username@server's password:
>
>
>
>
>



Relevant Pages

  • Re: SSH - Direct login without password - Beginner Question
    ... > from trojan to atlantis directly without the root password request. ... Under openssh, the file to modify would be sshd_config ... non-root account on the target system to use the public key. ...
    (comp.unix.solaris)
  • Problem with enabling LDAP over SSL with a third-party Certification Authority
    ... My setup is a single forest with a root and sub domain. ... Public Key Algorithm: ...
    (microsoft.public.win2000.active_directory)
  • Re: "Permission denied" Problem
    ... I have a query on accessing a root file as a non-root user. ... root, copy the public key someplace else, like maybe /var/spool/root ... those of the individual sender unless otherwise stated. ...
    (RedHat)
  • SSH root logins using public key only confusion
    ... in my sshd_config in order to allow root logins using a public key only. ... The man page warns about several other directives i'm simply not sure ... PasswordAuthentication left me with no direct root access at all ( ...
    (freebsd-questions)
  • Re: Enabling telnet, ftp, pop3 for root...
    ... passwords - the root and the user password. ... that the intermediate user account has a weaker password than the ... If you are using direct root login, then they don't even need to get ... Again, you don't have my public key, so you have no chance of guessing ...
    (alt.os.linux)