1、远程登录,终端下输入
ssh -o StrictHostKeyChecking=no ip
eg:
2、上传文件。在终端下输入:
scp sth/file username@hostIP:dst/
eg:
3、下载文件。在终端下输入:
scp username@hostIP:sth/file /dst
1、远程登录,终端下输入
ssh -o StrictHostKeyChecking=no ip
2、上传文件。在终端下输入:
scp sth/file username@hostIP:dst/
3、下载文件。在终端下输入:
scp username@hostIP:sth/file /dst