[英]Lost connection when scp into a linux machine
I tried to scp a file from my local directory into my school linux machine, but it lost connection after I entered my password.我试图将本地目录中的一个文件 scp 到我的学校 linux 机器中,但是在我输入密码后它失去了连接。
The command I used was similar to我使用的命令类似于
scp <filename> <linuxRemoteAddress>:311/.
After I typed this command, the machine told me to enter my password.输入此命令后,机器告诉我输入密码。 And then I entered my password, and after a while the terminal shows "lost connection"
然后我输入了密码,过了一会儿终端显示“丢失连接”
Use rsync with --progress
and -v
flag to see the copy progress bar.将rsync与
--progress
和-v
标志一起使用以查看复制进度条。 Your command should look like this:您的命令应如下所示:
rsync --progress -v <src file> <destination>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.