0

我正在尝试使用 PuTTY SFTP 命令外壳在我的服务器上上传文件。我的队友一直在使用 Mac,Linux 是我们的服务器,所以他们有预定义的命令。

我在 Windows 上工作,需要执行以下操作(这些是 Mac 上用于 SFTP 的 ssh 命令):

# Copy from my laptop to my home directory  /home/username
# Change the permissions on your folder:  
chmod 777 /home/username # this is giving issues

# Change to the "ABC" user: 
sudo su gcnweb # this is not working in windows

cd /path../  # Go to the deployment directories //no issues here

cp /path of the director/ # Copy the files from your home dir to the deployment dir //no issues here

请检查上面,如果有人可以帮助我在 Windows 中使用 PuTTY SFTP 解决相同的问题。

4

1 回答 1

0

这些是 shell 命令。它与 SFTP 无关。

如果您使用 Windows SSH 客户端,则可以执行完全相同的命令。就像 PuTTY 本身 ( putty.exe)。

于 2015-09-25T09:01:54.907 回答