简体   繁体   English

在 Ubuntu 上使用带有 Thunar 文件管理器和 PEM 密钥的 SFTP

[英]Using SFTP with Thunar file manager and a PEM key on Ubuntu

I am using the Thunar file manager on Ubuntu Desktop and wish to connect to a Ubuntu server using SFTP and a PEM key.我在 Ubuntu 桌面上使用 Thunar 文件管理器,并希望使用 SFTP 和 PEM 密钥连接到 Ubuntu 服务器。

What is the syntax in Thunar for this? Thunar 中的语法是什么? Was thinking along the lines of正在思考

sftp://user@myserver.com /pemkey ?

Added the following to my ssh config file:在我的 ssh 配置文件中添加了以下内容:

Host myserver
HostName xx.xx.xx.xx
User myuser
IdentityFile key.pem
Compression yes

then sftp://myserver in Thunar.然后 sftp://myserver 在 Thunar。

Now have a connection.现在有了联系。

Just to complement user10311596's answer , you have to add this settings in: ~/.ssh/config file.只是为了补充user10311596 的回答,您必须将此设置添加到: ~/.ssh/config文件中。 Create one if the file does not exists.如果文件不存在,则创建一个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM