老板让看下 ESB 和 DDS 相关的东西,于是想看看OpenDDS的官方文档,但是一直打不开,迅雷、百度网盘也下载不了
于是试一下云服务器,虽然速度很慢,但是下载成功了
但是问题来了,由于懒,上次重置完系统以后没有安装FTP,也没装Tomcat
想到SSH连接也是通过网络进行,肯定也可以用来做文件传输,于是百度之
发现 scp 命令可以做到
scp命令用法:
usage: scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2
一般就使用 scp source destination 足够了
于是在WSL环境下使用之:
root@本地计算机:~$ scp 用户名@服务器IP:~/OpenDDS-latest.pdf .
The authenticity of host '服务器IP (服务器IP)' can't be established.
ECDSA key fingerprint is SHA256:/YwisgMvK7JhTaLsHIv4U0edsBHmutP6tNEE1ibBX0E.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '服务器IP' (ECDSA) to the list of known hosts.
用户名@服务器IP's password:
OpenDDS-latest.pdf 100% 1343KB 135.6KB/s 00:09
只有1M小水管,比起原本断断续续还只有几KB的下载速度,已经非常快了