problem specifying port to ssh

Don Cohen don-temp28 at isis.cs3-inc.com
Fri Apr 7 07:55:28 EST 2006


Damien Miller writes:
 > On Thu, 6 Apr 2006, Don Cohen wrote:
 > 
 > > 
 > > Here's the behavior I see:
 > >  # ssh don at isis.cs3-inc.com date
 > >  Thu Apr  6 14:19:16 PDT 2006
 > >  # ssh -p 22 don at isis.cs3-inc.com date
 > >  ssh: isis.cs3-inc.com: System error
 > 
 > Please send a debug trace:
 > 
 > ssh -vvvp 22 don at isis.cs3-inc.com date
  [root at don-eve tmp]# ssh -vvvp 22 don at isis.cs3-inc.com
  OpenSSH_4.2p1, OpenSSL 0.9.7f 22 Mar 2005
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: Applying options for *
  debug2: ssh_connect: needpriv 0
  ssh: isis.cs3-inc.com: System error

I actually tried it with strace - about 16KB - want it?
How about the last page or so:

  open("/etc/hosts", O_RDONLY)            = 3
  fcntl64(3, F_GETFD)                     = 0
  fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
  fstat64(3, {st_mode=S_IFREG|0644, st_size=665, ...}) = 0
  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f61000
  read(3, "# Do not remove the following li"..., 4096) = 665
  read(3, "", 4096)                       = 0
  close(3)                                = 0
  munmap(0xb7f61000, 4096)                = 0
  open("/etc/ld.so.cache", O_RDONLY)      = 3
  fstat64(3, {st_mode=S_IFREG|0644, st_size=153614, ...}) = 0
  old_mmap(NULL, 153614, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f3c000
  close(3)                                = 0
  open("/lib/libnss_nisplus.so.2", O_RDONLY) = 3
  read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\31"..., 512) = 512
  fstat64(3, {st_mode=S_IFREG|0755, st_size=51084, ...}) = 0
  old_mmap(NULL, 45564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x6ac000
  old_mmap(0x6b6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x6b6000
  close(3)                                = 0
  mprotect(0x6b6000, 4096, PROT_READ)     = 0
  munmap(0xb7f3c000, 153614)              = 0
  uname({sys="Linux", node="don-eve.dyndns.org", ...}) = 0
  write(2, "ssh: isis.cs3-inc.com: System er"..., 37ssh: isis.cs3-inc.com: System error

  ) = 37




More information about the openssh-unix-dev mailing list