Neither scp nor sftp works (2.5.1p1 and Solaris 2.6) :(

Olof Liungman olof23 at earthlink.net
Sat Feb 24 12:25:10 EST 2001


Hi,

sorry about bothering you like this but despite several tries my recent
posts to ssh at clinet.fi never appear on that list, and I don't know where
else to turn.

I was unable to get sftp/scp to work when using OpenSSH 2.3.0p1. No one
could solve this problem and evenutally I was told to try "a recent
snapshot". Now I've installed 2.5.1p1, but still no cigarr :(.

I have OpenSSH installed on two Sun SPARC-boxes running Solaris 2.6. I
configured with PAM and TCP-wrapper support. The software compiled fine,
except for a few warnings. Normal ssh/slogin works great, both from one
Sun-box to another and from Windows (F-Secure 4.1 SSH Client) and Mandrake
Linux (2.3.0p1), using both public key authentication and normal password.
However, neither command line scp nor F-Secures sftp client work from any of
the machines to any of the sun boxes, nor between the Sun-boxes.

My config files are standard and the "subsystem"-entry looks just fine. I've
included the output (without IP-numbers and user names) on the client and
the server side below (the latter using "Loglevel DEBUG"). Everything just
dies after the SIGCHILD. What is going on?

Two other users have contacted me regarding my earlier, unanswered posts
concerning problems with sftp (then for v. 2.3.0p1) because they hade the
same problem.

Any help would be very appreciated as I've exhausted all options I can think
of.

Sincerely,

Olof Liungman
acting Unix sys-admin
Dept. of Oceanography, Göteborg University
Sweden

--------------Client side--------------------
oort% scp testfile.txt helios:/export/data/ftp/pub/olof
Enter passphrase for RSA key 'olli at tellus':
Received disconnect from xxx.xxx.xxx.xxx: Command terminated on signal 11.
lost connection
oort%

-----------Server side---------------------
Feb 24 02:14:58 helios sshd[5562]: Connection from yyy.yyy.yyy.yyy port 993
Feb 24 02:14:58 helios sshd[5562]: debug1: Client protocol version 1.5;
client software version OpenSSH_2.5.1p1
Feb 24 02:14:58 helios sshd[5562]: debug1: match: OpenSSH_2.5.1p1 pat
^OpenSSH
Feb 24 02:14:58 helios sshd[5562]: debug1: Local version string
SSH-1.99-OpenSSH_2.5.1p1
Feb 24 02:14:58 helios sshd[5562]: debug1: Sent 768 bit server key and 1024
bit host key.
Feb 24 02:14:58 helios sshd[5256]: debug1: Forked child 5562.
Feb 24 02:14:58 helios sshd[5256]: debug1: Seeded RNG with 26 bytes from
programs
Feb 24 02:14:58 helios sshd[5256]: debug1: Seeded RNG with 3 bytes from
system calls
Feb 24 02:15:00 helios sshd[5562]: debug1: Encryption type: 3des
Feb 24 02:15:00 helios sshd[5562]: debug1: Received session key; encryption
turned on.
Feb 24 02:15:00 helios sshd[5562]: debug1: Installing crc compensation
attack detector.
Feb 24 02:15:00 helios sshd[5562]: debug1: Starting up PAM with username
"MY_USER_NAME"
Feb 24 02:15:00 helios sshd[5562]: debug1: Trying to reverse map address
yyy.yyy.yyy.yyy.
Feb 24 02:15:00 helios sshd[5562]: debug1: PAM setting rhost to "oort"
Feb 24 02:15:00 helios sshd[5562]: debug1: Attempting authentication for
MY_USER_NAME.
Feb 24 02:15:12 helios sshd[5562]: Accepted rsa for MY_USER_NAME from
yyy.yyy.yyy.yyy port 993
Feb 24 02:15:12 helios sshd[5562]: debug1: session_new: init
Feb 24 02:15:12 helios sshd[5562]: debug1: session_new: session 0
Feb 24 02:15:12 helios sshd[5562]: debug1: Exec command 'scp -t
/export/data/ftp/pub/olof'
Feb 24 02:15:12 helios sshd[5562]: debug1: Entering interactive session.
Feb 24 02:15:12 helios sshd[5562]: debug1: Received SIGCHLD.
Feb 24 02:15:12 helios sshd[5562]: debug1: fd 11 setting O_NONBLOCK
Feb 24 02:15:12 helios sshd[5562]: debug1: fd 11 IS O_NONBLOCK
Feb 24 02:15:12 helios sshd[5562]: debug1: fd 13 setting O_NONBLOCK
Feb 24 02:15:12 helios sshd[5562]: debug1: server_init_dispatch_13
Feb 24 02:15:12 helios sshd[5562]: debug1: server_init_dispatch_15
Feb 24 02:15:12 helios sshd[5562]: debug1: End of interactive session; stdin
0, stdout (read 0, sent 0), stderr 0 bytes.
Feb 24 02:15:12 helios sshd[5562]: Disconnecting: Command terminated on
signal 11.
Feb 24 02:15:12 helios sshd[5562]: debug1: Calling cleanup 0x35ebc(0x0)
Feb 24 02:15:12 helios sshd[5562]: debug1: Calling cleanup 0x49f34(0x0)
Feb 24 02:15:12 helios sshd[5562]: debug1: Calling cleanup 0x4f894(0x0)
Feb 24 02:15:12 helios sshd[5562]: debug1: writing PRNG seed to file
file://.ssh/prng_seed







More information about the openssh-unix-dev mailing list