scp file.txt firstname.lastname@example.org:/W/
Each time when I issue this SCP command, I get
Connection to 10.57.111.44 closed by remote host. lost connection.
Why is this happening??
migrated from stackoverflow.com May 29 '12 at 0:32
This question came from our site for professional and enthusiast programmers.
Make sure the user account you're using on the remote machine has its default shell set to a valid value (e.g. /bin/bash).
To check the currently set shell use:
(the last value in the row is the default shell). To change this value use: