
选择Transmit下方的“+”号后,进入信息填写的界面

依次操作:
1.选择Protocol 为SFTP
2.Server 为服务器域名
3.User Name 为 用户名(有可能是root)
4.Password 选择后面的小钥匙,进入选择秘钥的地址(也就是文件中的.ssh/id_rsa文件)
5.Root URL 不管
6.Remote Path(远程路径) 网站根目录(比如/home/wwwroot/default)
7.Local Path 为本地代码地址,可以不填。
网友评论