Linux 下升级 OpenSSH 到 9.x 版本对 scp 影响
背景说明
- scp 命令 -- 执行文件拷贝
- 源文件 -- testscp.txt
- 目标文件 -- testscp.txt
- 目标机器、目标路径 -- 本机、当前目录 -- 相当于覆盖拷贝
模拟执行过程
openssh 版本说明
[root@localhost ~]$ ssh -V
OpenSSH_9.0p1, OpenSSL 1.0.2l 25 May 2017
[root@localhost ~]$ openssl version
OpenSSL 1.0.2l 25 May 2017
模拟过程
[root@localhost ~]$ echo "111" > testscp.txt
[root@localhost ~]$ cat testscp.txt
111
[root@localhost ~]$ scp testscp.txt root@192.168.68.129:/root/testscp.txt
testscp.txt 0% 0 0.0KB/s --:-- ETA
[root@localhost ~]$