Linux下不借助工具实现远程linux服务器上传下载文件
作者:
笑吧小鸟 | 来源:发表于
2019-06-19 16:03 被阅读0次
简介
- Linux下自带ssh工具,可以实现远程Linux服务器的功能
- Linux下自带scp工具,可以实现文件传输功能
登录服务器
-
ssh root@192.168.24.23
登录服务器
PC:~$ ssh root@192.168.24.23
root@192.168.24.23's password:
文件传输
- 下载文件
scp root@192.168.24.23:/data/logs/test.log /home/root
$ scp root@192.168.24.23:/data/logs/test.log /home/root
root@192.168.24.23's password:
test.log 100% 19MB 11.2MB/s 00:01
- 上传文件
scp /home/root/test_20190619.jar root@192.168.24.23:/usr/local/test/
本文标题:Linux下不借助工具实现远程linux服务器上传下载文件
本文链接:https://www.haomeiwen.com/subject/nipkqctx.html
网友评论