[Bug 328277] Re: can not login using ssh anymore
Launchpad has imported 14 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=484459. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2009-02-06T22:27:00+00:00 John wrote: Description of problem: Some rawhide update today broke ssh, but I can't work out what! I tried backing down openssh to an earlier release, but that didn't fix it. Reporting against openssh anyway. As a regular user, ssh fails with: buffer_get_ret: trying to get more bytes 4 than in buffer 0 buffer_get_int: buffer error (Really helpful error message, NOT! Try googling for: "buffer_get_ret: trying to get more bytes 4 than in buffer 0" to see how common it is!) As root, ssh to the same target works. Version-Release number of selected component (if applicable): openssh-5.1p1-6.fc11.x86_64 How reproducible: 100% Steps to Reproduce: 1.ssh -vvv bock 2. 3. Actual results: ... debug1: Host 'bock' is known and matches the RSA host key. debug1: Found key in /home/ellson/.ssh/known_hosts:57 debug2: bits set: 514/1024 debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received buffer_get_ret: trying to get more bytes 4 than in buffer 0 buffer_get_int: buffer error Expected results: 1. Working ssh. 2. Greatly improved errors messages! Additional info: Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- keyring/+bug/328277/comments/0 On 2009-02-06T22:51:00+00:00 John wrote: The problem seems to be caused by my id_dsa key ??? Removing that and the id_rsa key works fine. I use that dsa key in a lot of places, so I don't want to remove it permanently. Whats going on? A working rsa public key: debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/ellson/.ssh/id_rsa (0x2880550) debug3: input_userauth_banner Same site, with the id_dsa & id_dsa.pub restored into .ssh/ debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received buffer_get_ret: trying to get more bytes 4 than in buffer 0 buffer_get_int: buffer error Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- keyring/+bug/328277/comments/1 On 2009-02-09T11:18:43+00:00 Tomas wrote: What have you upgraded - client or server? What is the openssh version on the other end? What happens if you do 'unset SSH_AUTH_SOCK' before running the ssh client? Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- keyring/+bug/328277/comments/2 On 2009-02-09T12:22:23+00:00 Tomáš wrote: Same here, today's rawhide, cannot connect from client to server. client: openssh-5.1p1-6.fc11.x86_64 openssl-0.9.8j-7.fc11.x86_64 glibc-2.9.90-3.x86_64 gcc-4.4.0-0.16.x86_64 server: openssh-5.1p1-6.fc11.i386 openssl-0.9.8j-6.fc11.i686 glibc-2.9.90-3.i686 gcc-4.3.2-7.i386 Removing ~/.ssh/known_hosts didn't help. Unsetting SSH_AUTH_SOCK helped. $ echo $SSH_AUTH_SOCK /tmp/keyring-c543Ad/socket.ssh So... this looks like gnome-keyring error :-/ Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- keyring/+bug/328277/comments/3 On 2009-02-09T12:29:05+00:00 Tomas wrote: Yes, if unsetting SSH_AUTH_SOCK helps and it points to gnome-keyring and not regular ssh_agent it is gnome-keyring bug. Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- keyring/+bug/328277/comments/4 On 2009-02-09T18:07:58+00:00 John wrote: Using ssh from a ssh login session, without a desktop and with no SSH_AUTH_SOCK set, works ok.When I get back home tonight I'll see if SSH_AUTH_SOCK is set and if unsetting it helps me, but that seems likely based on Comment #4. Reply at:
[Bug 328277] Re: can not login using ssh anymore
** Changed in: gnome-keyring Status: Incomplete = Unknown ** Changed in: gnome-keyring Importance: Unknown = High -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
I am seeing this bug in Karmic (2.6.31-16-generic #53 AMD64) just after a recent upgrade. The problem and workaround(s) are exactly as described above. It looks like this bug is back. -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
Subsequent update fixed the problem for me (jaunty). -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
** Changed in: gnome-keyring Status: Unknown = Incomplete -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
the bug should be fixed in the new 2.25.91 version uploaded to jaunty, closing the bug, reopen if that's still an issue for you though ** Changed in: gnome-keyring (Ubuntu) Status: Triaged = Fix Released -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
apparently fedora has a fixed package, so I hope the fix is pulled in soon :) ** Bug watch added: Red Hat Bugzilla #484459 https://bugzilla.redhat.com/show_bug.cgi?id=484459 ** Also affects: gnome-keyring (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=484459 Importance: Unknown Status: Unknown -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
** Changed in: gnome-keyring (Fedora) Status: Unknown = Fix Released -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
I have this problem with my Jaunty (both local sshd and remote sshd). $ ssh localhost buffer_get_ret: trying to get more bytes 4 than in buffer 0 buffer_get_int: buffer error However, I don't have such a problem with Places - Connect to Server - SSH ... -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
I am also affected. Seems to be a problem with gnome-keyring or similar as the problem does not occur from the console. The steps listed above by Christian also resolved it temporarily for me. Removing the .ssh directory also does it. (although you probably don't want to delete you private key). -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
I am affected, too, cannot ssh to anywhere from gnome session. The problem is apparently in gnome-keyring-daemon that has been recently updated. ssh does work if I break its connection with the agent: SSH_AUTH_SOCK= ssh localhost Enter passphrase for key '/home/crosser/.ssh/id_rsa': Linux pccross 2.6.28-7-generic #20-Ubuntu SMP Mon Feb 9 15:42:34 UTC 2009 x86_64 In case it helps somebody, I am attaching strace of the gnome-keyring- daemon when it ssh command is issued. Eugene ** Attachment added: strace of gnome-keyring-daemon process http://launchpadlibrarian.net/22581369/keyring.report -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
there is no need to keep adding comment there, the bug has been confirmed and sent to GNOME -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
** Summary changed: - [jaunty] can not login using ssh anymore + can not login using ssh anymore -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 328277] Re: can not login using ssh anymore
Thank you for your bug report, the error is similar to http://bugzilla.gnome.org/show_bug.cgi?id=571060 ** Changed in: gnome-keyring (Ubuntu) Importance: Undecided = Low Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) Status: New = Triaged ** Also affects: gnome-keyring via http://bugzilla.gnome.org/show_bug.cgi?id=571060 Importance: Unknown Status: Unknown -- can not login using ssh anymore https://bugs.launchpad.net/bugs/328277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs