![在 nautilus 中向 sftp URL 添加 SSH 选项](https://linux22.com/image/1034514/%E5%9C%A8%20nautilus%20%E4%B8%AD%E5%90%91%20sftp%20URL%20%E6%B7%BB%E5%8A%A0%20SSH%20%E9%80%89%E9%A1%B9.png)
我正在使用以下形式的 URL 连接到 Nautilus 中的远程服务器sftp://服务器.com。但是由于该服务器的问题,我需要在通过 SSH 连接时添加一个选项,否则登录会非常非常慢:
ssh -o GSSAPIAuthentication=no server.com
有没有办法在 Nautilus 和 SFTP 中使用此选项?
答案1
您可以~/.ssh/config
为您的主机创建一个适当的配置条目,如下所示:
Protocol 2
Host yourhost
User youruser
Hostname your.host.address
GSSAPIAuthentication no
Port 1234
如需更多选择,请咨询man ssh_config