problems using ssh

Torsten Neumann (linux-kernel@infodrom.north.de)
Thu, 18 Jul 1996 15:28:33 +0200 (MET DST)


With Kernel 2.0.4 and 2.0.7 I have problems using the scp command on an
nfs-mounted device. (If that error occures with previous kernel releases is
unknown to me)

Doing something like

vir$ cd /tmp
vir$ scp imke:/usr/src/linux .

works fine. But

vir$ mount -t nfs imke:/mnt/hda1 /usr -o rw,rsize=3072,wsize=3072
vir$ cd /usr/src/
vir$ scp -r -v imke:/usr/src/linux .

just gives the appended output (and an directory with just an empty Makefile
in it)

Torsten

--- output from scp -v ... above
Executing: host imke, user (unspecified), command scp -v -r -f /usr/src/linux
SSH Version 1.2.13 [i486-unknown-linux], protocol version 1.3.
Standard version. Does not use RSAREF.
Reading configuration data /etc/ssh_config
ssh_connect: getuid 0 geteuid 0 anon 0
Connecting to imke [192.168.226.55] port 22.
Allocated local port 1023.
Connection established.
Remote protocol version 1.3, remote software version 1.2.13
Waiting for server public key.
Received server public key (768 bits) and host key (1024 bits).
Host 'imke' is known and matches the host key.
Initializing random; seed file /root/.ssh/random_seed
Encryption type: idea
Sent encrypted session key.
Received encrypted confirmation.
Trying rhosts or /etc/hosts.equiv with RSA host authentication.
Remote: Accepted by .rhosts.
Received RSA challenge for host key from server.
Sending response to host key RSA challenge.
Remote: Rhosts with RSA host authentication accepted.
Rhosts or /etc/hosts.equiv with RSA host authentication accepted by server.
Sending command: scp -v -r -f /usr/src/linux
Entering interactive session.
Entering directory: D0755 0 linux
Sending file modes: C0644 9589 Makefile
Bad address
Entering directory: D0755 0 fs
Write failed flushing stdout buffer.
Transferred: stdin 21, stdout 9740, stderr 0 bytes in 1.0 seconds
Bytes per second: stdin 20.9, stdout 9701.6, stderr 0.0
Exit status 1