-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Not sure how much it will help in your case.
but if you have root access to the blocking ssh-server machine, i
would have tried looking at the logs there, stracing the sshd, etc.
It seems to me more like a server problem, rather than a client.
Anyway,
just to make sure it's not a client probloem, I suggest you try one of
the following:
1.
~ > mv ~/.ssh{,.backup}
2. Use a different user.
Noam
Yosef Meller wrote:
| Hi everyone,
|
| I was working on a remote machine with SSH, when suddenly the
| connection froze. I tried to connect again, but the ssh client does
| not even ask for the password, it just blocks on read after the
| connection is made, as the strace output below shows.
|
| sshing into other machines works, but trying to use a different
| machine to access the first one does not work either. This leads me
| to think that the problem is with the host.
|
| If there's a way to solve this, please tell me, I'm stumped.
| Thanks,
| Yosef.
|
| [some library stuff...]
| munmap(0x40055000, 114540) = 0
| open("/etc/services", O_RDONLY) = 3
| fcntl64(3, F_GETFD) = 0
| fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
| fstat64(3, {st_mode=S_IFREG|0644, st_size=14153, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
| -1, 0) = 0x
| 40055000
| read(3, "# /etc/services:\n# $Id: services"..., 131072) = 14153
| close(3) = 0
| munmap(0x40055000, 131072) = 0
| socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
| connect(3, {sa_family=AF_INET, sin_port=htons(22),
| sin_addr=inet_addr("removed the ip of the blocking machine")}, 16) = 0
| setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
| setresuid32(-1, 1000, -1) = 0
| setuid32(1000) = 0
| stat64("/home/yosef/.ssh", {st_mode=S_IFDIR|0700, st_size=192, ...})
| = 0
| open("/etc/passwd", O_RDONLY) = 4
| fcntl64(4, F_GETFD) = 0
| fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
| _llseek(4, 0, [0], SEEK_CUR) = 0
| fstat64(4, {st_mode=S_IFREG|0644, st_size=1908, ...}) = 0
| mmap2(NULL, 1908, PROT_READ, MAP_SHARED, 4, 0) = 0x40055000
| _llseek(4, 1908, [1908], SEEK_SET) = 0
| munmap(0x40055000, 1908) = 0
| close(4) = 0
| open("/home/yosef/.ssh/identity", O_RDONLY|O_LARGEFILE) = -1 ENOENT
| (No such fil
| e or directory)
| open("/home/yosef/.ssh/identity", O_RDONLY|O_LARGEFILE) = -1 ENOENT
| (No such fil
| e or directory)
| open("/home/yosef/.ssh/identity", O_RDONLY|O_LARGEFILE) = -1 ENOENT
| (No such fil
| e or directory)
| open("/home/yosef/.ssh/identity.pub", O_RDONLY|O_LARGEFILE) = -1
| ENOENT (No such
| file or directory)
| open("/etc/passwd", O_RDONLY) = 4
| fcntl64(4, F_GETFD) = 0
| fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
| _llseek(4, 0, [0], SEEK_CUR) = 0
| fstat64(4, {st_mode=S_IFREG|0644, st_size=1908, ...}) = 0
| mmap2(NULL, 1908, PROT_READ, MAP_SHARED, 4, 0) = 0x40055000
| _llseek(4, 1908, [1908], SEEK_SET) = 0
| munmap(0x40055000, 1908) = 0
| close(4) = 0
| open("/home/yosef/.ssh/id_rsa", O_RDONLY|O_LARGEFILE) = 4
| fstat64(4, {st_mode=S_IFREG|0600, st_size=887, ...}) = 0
| read(4, "-----BEGIN RSA PRIVATE KEY-----\n"..., 887) = 887
| close(4) = 0
| open("/home/yosef/.ssh/id_rsa", O_RDONLY|O_LARGEFILE) = 4
| fstat64(4, {st_mode=S_IFREG|0600, st_size=887, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
| -1, 0) = 0x
| 40055000
| read(4, "-----BEGIN RSA PRIVATE KEY-----\n"..., 131072) = 887
| read(4, "", 131072) = 0
| close(4) = 0
| munmap(0x40055000, 131072) = 0
| open("/home/yosef/.ssh/id_rsa", O_RDONLY|O_LARGEFILE) = 4
| fstat64(4, {st_mode=S_IFREG|0600, st_size=887, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
| -1, 0) = 0x
| 40055000
| read(4, "-----BEGIN RSA PRIVATE KEY-----\n"..., 131072) = 887
| read(4, "", 131072) = 0
| close(4) = 0
| munmap(0x40055000, 131072) = 0
| open("/home/yosef/.ssh/id_rsa.pub", O_RDONLY|O_LARGEFILE) = 4
| fstat64(4, {st_mode=S_IFREG|0644, st_size=221, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
| -1, 0) = 0x
| 40055000
| read(4, "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAA"..., 131072) = 221
| close(4) = 0
| munmap(0x40055000, 131072) = 0
| open("/etc/passwd", O_RDONLY) = 4
| fcntl64(4, F_GETFD) = 0
| fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
| _llseek(4, 0, [0], SEEK_CUR) = 0
| fstat64(4, {st_mode=S_IFREG|0644, st_size=1908, ...}) = 0
| mmap2(NULL, 1908, PROT_READ, MAP_SHARED, 4, 0) = 0x40055000
| _llseek(4, 1908, [1908], SEEK_SET) = 0
| munmap(0x40055000, 1908) = 0
| close(4) = 0
| open("/home/yosef/.ssh/id_dsa", O_RDONLY|O_LARGEFILE) = 4
| fstat64(4, {st_mode=S_IFREG|0600, st_size=672, ...}) = 0
| read(4, "-----BEGIN DSA PRIVATE KEY-----\n"..., 672) = 672
| close(4) = 0
| open("/home/yosef/.ssh/id_dsa", O_RDONLY|O_LARGEFILE) = 4
| fstat64(4, {st_mode=S_IFREG|0600, st_size=672, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
| -1, 0) = 0x
| 40055000
| read(4, "-----BEGIN DSA PRIVATE KEY-----\n"..., 131072) = 672
| read(4, "", 131072) = 0
| close(4) = 0
| munmap(0x40055000, 131072) = 0
| open("/home/yosef/.ssh/id_dsa", O_RDONLY|O_LARGEFILE) = 4
| fstat64(4, {st_mode=S_IFREG|0600, st_size=672, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
| -1, 0) = 0x
| 40055000
| read(4, "-----BEGIN DSA PRIVATE KEY-----\n"..., 131072) = 672
| read(4, "", 131072) = 0
| close(4) = 0
| munmap(0x40055000, 131072) = 0
| open("/home/yosef/.ssh/id_dsa.pub", O_RDONLY|O_LARGEFILE) = 4
| fstat64(4, {st_mode=S_IFREG|0644, st_size=601, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
| -1, 0) = 0x
| 40055000
| read(4, "ssh-dss AAAAB3NzaC1kc3MAAACBALKW"..., 131072) = 601
| close(4) = 0
| munmap(0x40055000, 131072) = 0
| open("/etc/passwd", O_RDONLY) = 4
| fcntl64(4, F_GETFD) = 0
| fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
| _llseek(4, 0, [0], SEEK_CUR) = 0
| fstat64(4, {st_mode=S_IFREG|0644, st_size=1908, ...}) = 0
| mmap2(NULL, 1908, PROT_READ, MAP_SHARED, 4, 0) = 0x40055000
| _llseek(4, 1908, [1908], SEEK_SET) = 0
| munmap(0x40055000, 1908) = 0
| close(4) = 0
| open("/etc/passwd", O_RDONLY) = 4
| fcntl64(4, F_GETFD) = 0
| fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
| _llseek(4, 0, [0], SEEK_CUR) = 0
| fstat64(4, {st_mode=S_IFREG|0644, st_size=1908, ...}) = 0
| mmap2(NULL, 1908, PROT_READ, MAP_SHARED, 4, 0) = 0x40055000
| _llseek(4, 1908, [1908], SEEK_SET) = 0
| munmap(0x40055000, 1908) = 0
| close(4) = 0
| rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
| rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
| read(3, <unfinished ...>
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBW+7ScgxJvekqy4kRAg13AJ0YQX47fjtAWkE4kQbo7S0Bv2WIpQCeK4sb
5Yt/lwrX62sCPBxGUpf72ts=
=LkEC
-----END PGP SIGNATURE-----
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]