I know how to use rcp and tried using scp but got this error...
(mach1 and mach2 are Linux O/S)
[dwoods@mach1 ~]$ scp x212 mach2.com:/
dwoods@mach2's password:
tty(not a tty) with TERM=dumb
[dwoods@mach1 ~]$ Write failed flushing stdout buffer.
write stdout: Broken pipe
I figured out it was the "tty..." line that I echo out upon login.
This is used to let me know the TERM setting.
I modified my .bashrc file to say
if [ x$TERM != xdumb ]; then echo "tty(`tty`) with TERM=$TERM"; fi
and scp now works. But why did an echo interfere with scp ?
Is there another way I should have handled this ?
Thanks... Dan.