WinScp 命令行

.\WinSCP.com /command "open scp://root:password@192.168.2.123:22  -hostkey=*" "call ---------"  "exit" 

说明:-hostkey=* 跳过验证(

Continue connecting to an unknown server and add its host key to a cache?

The server's host key was not found in the cache. You have no guarantee that the server is the computer you think it is.

call 执行任意远程Shell命令

cd 改变远程工作目录

chmod 改变远程文件权限

close 关闭会话

exit 关闭所有会话并结束程序

get 从远程目录下载文件到本地目录

help 显示帮助

keepuptodate 在一个远程目录连续反映本地目录的改变

lcd 改变本地工作目录

lls 列出本地目录的内容

ln 新建远程符号链接

lpwd 显示本地工作目录

ls 列出远程目录的内容

mkdir 新建远程目录

mv 移动或者重命名远程文件

   

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值