win系统ssh上传下载文件


目录
  1. 1. 使用ssh命令登录
  2. 2. 使用scp命令复制文件到远程服务器:
  3. 3. 使用客户端:xshell,xftp

ssh上传下载文件的几个方法。

使用ssh命令登录

ssh username@remote_host

使用scp命令复制文件到远程服务器:

scp /path/to/file.txt username@remote_host:/path/to/remote/directory/
从远程服务器复制文件到本地:
scp username@remote_host:/path/to/remote/file.txt /path/to/local/direct

使用客户端:xshell,xftp


难怪传文件速率只有130k,原来免费的cpolar转发速率只有1Mbps,还以为是移动宽带上传速率不达标。windows中powershell中有scp命令,cmd里没有。

Top