root@e0ebafa1c5bd:/# sftp -P 12161 root@114.115.175.225
The authenticity of host ‘[114.115.175.225]:12161 ([114.115.175.225]:12161)’ can’t be established.
ECDSA key fingerprint is SHA256:I/to+epv+CNAHf7wouKJCxtwwq7c2teDVwKL655Jaqc.
Are you sure you want to continue connecting (yes/no)? y
Please type ‘yes’ or ‘no’: yes
Warning: Permanently added ‘[114.115.175.225]:12161’ (ECDSA) to the list of known hosts.
root@114.115.175.225’s password:
Connected to 114.115.175.225.
sftp>
sftp>
sftp>
sftp> lpwd
Local working directory: /
sftp> lcd /usr/local/tomcat/apache-tomcat-8.5.32/webapps/
sftp> cd /root/pre_gw
sftp> get wangguan.war
Fetching /root/pre_gw/wangguan.war to wangguan.war
/root/pre_gw/wangguan.war 100% 64MB 773.1KB/s 01:25
sftp>
sftp命令行传文件
最新推荐文章于 2024-05-15 16:26:52 发布