简体   繁体   English

scp 进入 linux 机器时失去连接

[英]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.

相关问题 带有“ scp”的Elixir —权限被拒绝并且连接丢失 - Elixir with “scp” — permission denied and connection lost 无法将SCP从Linux EC2实例复制到本地计算机 - Cannot SCP from Linux EC2 Instance to Local Machine 当我使用visual studio远程linux连接到一个linux虚拟机时,连接不稳定 - When I use visual studio remote linux to connect to connect to a linux virtual machine, the connection is instability (颤振,Linux,VS 代码,Android 物理设备)当写入 flutter 运行 =&gt; 失去与设备的连接 - (Flutter, Linux, VS code, Android Physical device) When write flutter run => lost connection to device 在VM上使用SCP时出现连接拒绝错误 - Getting Connection refused error when using scp on VM 无法建立与Ubuntu Linux机器的SSL连接 - Unable to establish the SSL connection to the Ubuntu Linux Machine 无法在Linux机器上远程连接mysql - Trouble with remote connection to mysql on Linux machine linux scp / sftp命令 - linux scp/sftp commands 使用Windows但不使用Linux时UDP数据包丢失 - UDP packets lost when using windows but not Linux Android和Linux(RPi)之间的蓝牙连接在第一次写入操作时丢失 - Bluetooth connection between Android and Linux (RPi) lost on first write action
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM