Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-27-2005, 10:56 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
openssh won't stop asking for password

I'm trying to ssh between a Windows XP and SuSe 9.3 (and Redhat 9) system. I can go between the SuSe and Redhat systems without a password challenge, however when going between the Windoze and SuSe system I get challenged every time.

I've copied the Windoze key (from into authorized _keys on the SuSe system. File permission there is 0644 om the following files in .ssh (authorized_keys, The Windoze system has permission 0644 on the following files in .ssh (id_rsa,, known_hosts).

Here's the output when I attempt to connect. I'm sure iit's something simple, I just don't see it (thanks in advance for any help):

$ ssh -l dennis -v -C jupiter
OpenSSH_4.1p1, OpenSSL 0.9.8 05 Jul 2005
debug1: Connecting to jupiter [] port 22.
debug1: Connection established.
debug1: identity file /cygdrive/z/.ssh/identity type -1
debug1: identity file /cygdrive/z/.ssh/id_rsa type 1
debug1: identity file /cygdrive/z/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1
debug1: match: OpenSSH_3.5p1 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 zlib
debug1: kex: client->server aes128-cbc hmac-md5 zlib
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'jupiter' is known and matches the RSA host key.
debug1: Found key in /cygdrive/z/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: Enabling compression at level 6.
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interacti
debug1: Next authentication method: publickey
debug1: Trying private key: /cygdrive/z/.ssh/identity
debug1: Offering public key: /cygdrive/z/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interacti
debug1: Trying private key: /cygdrive/z/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interacti
debug1: Next authentication method: password
dennis@jupiter's password:
Old 08-27-2005, 11:30 PM   #2
Registered: Jun 2005
Posts: 75

Rep: Reputation: 15
What do the logs for sshd (possibly /var/log/secure) on the SUSE machine say? I have a feeling that the permissions on the authorized_keys file should be set to 0600. Also, check that there are no newline characters in the middle of the key in authorized_keys; this is in my experience a common occurence when copying a key using an xterm.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
root/user stop asking for password Jean Of mArc Linux - Security 3 11-27-2005 10:47 PM
How do I stop services from restarting after I stop them? M$ISBS Linux - Software 3 10-27-2005 08:13 PM
Make Samba stop asking for password TazG Linux - Networking 3 06-14-2004 03:01 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
how do i stop root password reset? robhargreaves Linux - Security 3 01-31-2004 09:16 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration