scp文件传输

首先,你的远程主机有SSH服务,然后从本机上传文件到ubuntu服务器,例如:
scp xampp-linux-x64-5.6.24-1-installer.run ubuntu@115.159.203.156:/tmp
从服务器下载文件:
scp ubuntu@115.159.203.156:/tmp/xampp-linux-x64-5.6.24-installer.run /home/user/下载

注意:@后边最好直接用IP地址,不要用域名.

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.