我正在尝试将文件从本地桌面复制到远程服务器。
是 - 我想要复制到的远程目录设置为chmod 777
是 - 服务器受密码保护,并且我确信我有正确的密码,因为我能够通过 ssh 连接到服务器。
该服务器适用于 Drupal 7 站点,我在 Windows 10 系统上尝试过Gitbash和 Windows PowerShell。该服务器由Cisco Anyconnect和Armor进行保护和管理。
我不知道问题是什么..任何人都可以提供一些指导吗?
谢谢!
我的调试输出(我已交换了用户名<my-user>
和 IP 地址xxx.xxx.xx.xx
):
PS C:\Users\Jill> scp -v ~/logo.png <my-user>@xxx.xxx.xx.xx:/var/www/html/sites/all/themes/bootstrap/bootstrap_subtheme
Executing: program ssh.exe host xxx.xxx.xx.xx, user <my-user>, command scp -v -t /var/www/html/sites/all/themes/bootstrap/bootstrap_subtheme
OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4
debug1: Connecting to xxx.xxx.xx.xx [xxx.xxx.xx.xx] port 22.
debug1: Connection established.
debug1: identity file C:\\Users\\Jill/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory …
Run Code Online (Sandbox Code Playgroud)