On Wednesday 01 June 2005 08:50, Jean-Michel Caricand wrote:
> Jeff Dike a écrit :
> >On Tue, May 31, 2005 at 10:33:09PM +0200, Jean-Michel Caricand wrote:

> # strace ssh [EMAIL PROTECTED]
On a completely different problem:
Is it correct that it looks there for libraries?
> open("/home/jm/ACE_wrappers/lib/tls/i686/mmx/cmov/libresolv.so.2",
> O_RDONLY) = -1 ENOENT (No such file or directory)

And surely, it isn't correct that it looks in the current directory for 
libraries... correct your LD_LIBRARY_PATH setting (note that two consecutive 
colons are interpreted in this way, too).
> open("tls/i686/mmx/cmov/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such
> file or directory)

> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> open("/home/jm/.ssh/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
> file or directory)
> open("/etc/ssh/ssh_config", O_RDONLY|O_LARGEFILE) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=1184, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7fe8000
> read(3, "#\t$OpenBSD: ssh_config,v 1.19 20"..., 4096) = 1184
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0xb7fe8000, 4096)                = 0
> getpid()                                = 6250
> getpid()                                = 6250
> open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = 3
> select(4, [3], NULL, NULL, {0, 10000})  = 1 (in [3], left {0, 10000})
> read(3, "\273\312W\320y\226q\0065f\267O\363\2p\224\300\275s\20T"..., 32)
> = 32
> close(3)                                = 0
> getpid()                                = 6250
> getpid()                                = 6250
> getuid32()                              = 1000
> getpid()                                = 6250
> time(NULL)                              = 1117608465
> getpid()                                = 6250

> open("/etc/services", O_RDONLY)         = 3


> socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
> connect(3, {sa_family=AF_INET, sin_port=htons(22),
> sin_addr=inet_addr("192.168.3.18")}, 16) = 0
> setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
> setresuid32(-1, 1000, -1)               = 0
> setuid32(1000)                          = 0

> rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> read(3, "S", 1)                         = 1
> read(3, "S", 1)                         = 1
> read(3, "H", 1)                         = 1
> read(3, "-", 1)                         = 1
> read(3, "2", 1)                         = 1
> read(3, ".", 1)                         = 1
> read(3, "0", 1)                         = 1
> read(3, "-", 1)                         = 1
> read(3, "O", 1)                         = 1
> read(3, "p", 1)                         = 1
> read(3, "e", 1)                         = 1
> read(3, "n", 1)                         = 1
> read(3, "S", 1)                         = 1
> read(3, "S", 1)                         = 1
> read(3, "H", 1)                         = 1
> read(3, "_", 1)                         = 1
> read(3, "3", 1)                         = 1
> read(3, ".", 1)                         = 1
> read(3, "8", 1)                         = 1
> read(3, ".", 1)                         = 1
> read(3, "1", 1)                         = 1
> read(3, "p", 1)                         = 1
> read(3, "1", 1)                         = 1
> read(3, " ", 1)                         = 1
> read(3, "D", 1)                         = 1
> read(3, "e", 1)                         = 1
> read(3, "b", 1)                         = 1
> read(3, "i", 1)                         = 1
> read(3, "a", 1)                         = 1
> read(3, "n", 1)                         = 1
> read(3, "-", 1)                         = 1
> read(3, "8", 1)                         = 1
> read(3, ".", 1)                         = 1
> read(3, "s", 1)                         = 1
> read(3, "a", 1)                         = 1
> read(3, "r", 1)                         = 1
> read(3, "g", 1)                         = 1
> read(3, "e", 1)                         = 1
> read(3, ".", 1)                         = 1
> read(3, "4", 1)                         = 1
> read(3, "\n", 1)                        = 1
> write(3, "SSH-2.0-OpenSSH_3.8.1p1 Debian-8"..., 41) = 41
> fcntl64(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> getpid()                                = 6250


> 528) = 528
> select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
> read(3, "`M>I\21\215\37W\304\t\323\227\367\34SR\220\260\237,\316"...,
> 8192) = 64
> write(3, "\0\322\34\321\331\31 \302\3455\316\3117\220\n\5\272\217"...,
> 96) = 96
> select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
> read(3, "", 8192)                       = 0

Ok, here it's seeing the closed connection. Would you rather use ssh -v and 
watch the server logs (since it's the server closing the connection?)
> getpeername(3, {sa_family=AF_INET, sin_port=htons(22),
> sin_addr=inet_addr("192.168.3.18")}, [16]) = 0

> write(2, "Connection closed by 192.168.3.1"..., 35Connection closed by
> 192.168.3.18

> ) = 35

> exit_group(255)                         = ?


-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade





___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to