复制文本:
scp local_file remote_username@remote_ip:remote_folder
scp local_file remote_username@remote_ip:remote_file
scp local_file remote_ip:remote_folder
scp local_file remote_ip:remote_file
remote_username---通过 whoami 获取获取
remote_ip 通过 ifconfig获取
参考:https://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/scp.html
网友评论