将服务器1下的文件远程传输至服务器2,例如将服务器fan(用户名) Dowloands 下的images文件夹传输至服务器omnisky(服务器名称):
1.首先查看服务器omnisky的IP地址:
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether ac:1f:6b:66:07:91 brd ff:ff:ff:ff:ff:ff
3: rename3: <BROADCAST,MULTICAST,