概述
[root@localhost ~]# scp -P 1255 mss_v2.0.0.0_r4.bin systemuser@120.197.137.104:/home/systemuser/
The authenticity of host '[120.197.137.104]:1218 ([120.197.137.104]:1218)' can't be established.
ECDSA key fingerprint is SHA256:Cj8A0C5hmx3JYsXG30sIvRav/A4nAKXTMY9dZNExiBw.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[120.197.137.104]:1218' (ECDSA) to the list of known hosts.
rzxsystemuser@120.197.137.104's password:
scp: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
lost connection
我来不及找scp为啥报错的原因了,欢迎指出。
rsync -avuz -e 'ssh -p 1255' mss_v2.0.0.0_r4.bin systemuser@120.197.137.104:/home/systemuser/
关于scp: /opt/package/: Is a directory的错误:
这报错的意思是,scp拷贝过去必须是一个目录,提示这个就表示你拷贝到远端的目录不存在
最后
以上就是甜蜜冬日为你收集整理的scp给报错了,rsync加端口传输(scp: /opt/package/: Is a directory)的全部内容,希望文章能够帮你解决scp给报错了,rsync加端口传输(scp: /opt/package/: Is a directory)所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复