大飞_dafei

导航

2018年3月9日 #

Linux scp命令详述

摘要: 简介scp是secure copy的简写,用于在Linux下进行远程拷贝文件的命令,和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器,而且scp传输是加密的。可能会稍微影响一下速度。当你服务器硬盘变为只读 read only system时,用scp可以帮你把文件移出来。另外,scp还非 阅读全文

posted @ 2018-03-09 11:46 大飞_dafei 阅读(135) 评论(0) 推荐(0) 编辑

ssh: connect to host localhost port 22: Connection refused

摘要: 命令: ssh localhost 报错: ssh: connect to host localhost port 22: Connection refused 这是ssh没有按,快去安装ssh 阅读全文

posted @ 2018-03-09 11:15 大飞_dafei 阅读(129) 评论(0) 推荐(0) 编辑

scp 报错 not a regular file

摘要: scp 报错 not a regular file 两台 linux 服务器之间拷贝文件; 从 A 服务器(192.168.1.113) 拷贝到 B 服务器: 命令: scp test2 dafei@192.168.1.113:/data/www/test/ 报错: test2: not a reg 阅读全文

posted @ 2018-03-09 10:54 大飞_dafei 阅读(430) 评论(0) 推荐(0) 编辑