Public bug reported: using: server os: ubuntu 8.04 openssh-server: 1:4.7p1-8ubuntu1.2
client os: debian etch 4.0 openssh-client: 4.3p2-9etch2 what I wanted: needed to login without password into ubuntu server from debian client as root. what I did: 1. on client: 1.1 created dsa key with the command: ssh-keygen -t dsa 1.2 copied public key to the server's authorized_keys file. 1.3 tried to login, failed (have been asked for a password) 2. on server: 2.1 increased loglevel to: LogLevel DEBUG3 on the server 2.2 restarted the server: invoke-rc.d ssh restart 2.3. polled on /var/log/auth.log 3. back on client side: 3.1 tried to login, as root: ssh [EMAIL PROTECTED] and have been asked for password 4. on server in the poll I got: =========== start dump ================== Jun 3 00:19:30 sshserver sshd[6525]: Failed none for root from xxx.yyy.zzz.www port 39449 ssh2 Jun 3 00:19:30 sshserver sshd[6525]: debug3: mm_request_receive entering Jun 3 00:19:30 sshserver sshd[6525]: debug3: monitor_read: checking request 21 Jun 3 00:19:30 sshserver sshd[6525]: debug3: mm_answer_keyallowed entering Jun 3 00:19:30 sshserver sshd[6525]: debug3: mm_answer_keyallowed: key_from_blob: 0xb80022a8 Jun 3 00:19:30 sshserver sshd[6525]: debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024 Jun 3 00:19:30 sshserver sshd[6525]: debug1: temporarily_use_uid: 0/0 (e=0/0) Jun 3 00:19:30 sshserver sshd[6525]: debug1: trying public key file /root/.ssh/authorized_keys Jun 3 00:19:30 sshserver sshd[6525]: debug3: secure_filename: checking '/root/.ssh' Jun 3 00:19:30 sshserver sshd[6525]: debug3: secure_filename: checking '/root' Jun 3 00:19:30 sshserver sshd[6525]: debug3: secure_filename: terminating check at '/root' Jun 3 00:19:30 sshserver sshd[6525]: debug1: restore_uid: 0/0 Jun 3 00:19:30 sshserver sshd[6525]: debug2: key not found Jun 3 00:19:30 sshserver sshd[6525]: debug1: temporarily_use_uid: 0/0 (e=0/0) Jun 3 00:19:30 sshserver sshd[6525]: debug1: trying public key file /root/.ssh/authorized_keys2 Jun 3 00:19:30 sshserver sshd[6525]: debug3: secure_filename: checking '/root/.ssh' Jun 3 00:19:30 sshserver sshd[6525]: debug3: secure_filename: checking '/root' Jun 3 00:19:30 sshserver sshd[6525]: debug3: secure_filename: terminating check at '/root' Jun 3 00:19:30 sshserver sshd[6525]: debug1: restore_uid: 0/0 Jun 3 00:19:30 sshserver sshd[6525]: debug2: key not found Jun 3 00:19:30 sshserver sshd[6525]: Failed publickey for root from xxx.yyy.zzz.www port 39449 ssh2 Jun 3 00:19:30 sshserver sshd[6525]: debug3: mm_answer_keyallowed: key 0xb80022a8 is disallowed Jun 3 00:19:30 sshserver sshd[6525]: debug3: mm_request_send entering: type 22 Jun 3 00:19:30 sshserver sshd[6525]: debug3: mm_request_receive entering =========== stop dump ================== 5. on client: 5.1 created RSA key: ssh-keygen -t rsa 5.2 copied the public key to the server 5.3 tried to login SUCCESS.. my conclusion: something is wrong with DSA keys handling. Please fix. ** Affects: openssh (Ubuntu) Importance: Undecided Status: New -- openssh-server does not find dsa keys authorized_keys file https://bugs.launchpad.net/bugs/236931 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs