I am using https://krusader.org/ in Ubuntu. Do you know if it possible to connect using a private SSH key (pem/ppk file)? I cannot find documentation about that.
I found an answer using ~/.ssh/config
file.
Essentially, (create &) edit the above file to include text which looks something like:
Host alias_name
User user
HostName host.com
IdentityFile key.pem
See link for details.
Then, tell Krusader (or ssh in terminal) to connect to alias_name without password or user information.
Ubuntu is FUN!
~.ssh/config
is no problem, but the alias in the URL field of Krusader isn't interpreted corretcly but as (missing) file instead. So something is missing. Calling it with sftp://
doesn't work either, then the authentication is failing. in the console it's working though with ssh
, so there is something unclear or just not possible (anymore ?). –
Prelacy There's no need to refer to your ~/.ssh/config
file within krusader. It'll follow instructions made in this file automatically.
I realised jump hops that way. However I had to point to port 22 although target server was configured to another port.
Yes, it is possible with public key, but seems not possible with simple connection by password.
Krusader with version 2.7.2 appears to have bug with connection by ssh with authorization by password. Error: Authentication failed
. Nautilus
file manager in the same conditions is working fine.
Authorization by public key can be used after adding public key with command ssh-copy-id
to remote host.
No need to make changes in /etc/ssh/config
file. Default configuration is working. Just test connection with ssh <address> -p <port>
command before connecting by Krusader
.
Connection by using either 22 or 8022 port is working fine.
Checked on Ubuntu 20.04.
© 2022 - 2024 — McMap. All rights reserved.