scp远程传输文件

场景:想把本地下载好的jdk上传到虚拟机中但苦于寻找工具的麻烦

解决方案:

使用scp命令顺利上传

$ scp jdk-6u45-linux-x64.bin [email protected]:/home
The authenticity of host '192.168.49.128 (192.168.49.128)' can't be established.
ECDSA key fingerprint is SHA256:UjdAi/ctSPCXdszaZ3ksguIZX58EyqpRnf0xQFJOpjg.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.49.128' (ECDSA) to the list of known hosts.
[email protected]'s password:
jdk-6u45-linux-x64.bin                        100%   69MB  27.0MB/s   00:02

猜你喜欢

转载自blog.csdn.net/sky_jiangcheng/article/details/80311057
今日推荐