This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KnetAttach with private key

Tags: None
(comma "," separated)
yogis
Registered Member
Posts
3
Karma
0

KnetAttach with private key

Sun Aug 25, 2019 4:02 pm
im new user knetattach, but im have problem with connet secure ssh with private key (pem file). how to solve it ?
User avatar
raphaelra
Registered Member
Posts
209
Karma
0
OS

Re: KnetAttach with private key

Mon Aug 26, 2019 9:25 am
Can you allready connect via sftp/ssh via command line using public key authentication ?
yogis
Registered Member
Posts
3
Karma
0

Re: KnetAttach with private key

Tue Aug 27, 2019 6:37 am
yes already using terminal
User avatar
raphaelra
Registered Member
Posts
209
Karma
0
OS

Re: KnetAttach with private key

Tue Aug 27, 2019 8:42 am
knetattach only collects some data and creates a .desktop file in ~/.local/share/remoteview. For example:
Code: Select all
[Desktop Entry]
Charset=
Icon=folder-remote
Name=Tom@Earth
Type=Link
URL=sftp://tom@earth:22/home/tom
You can create such a file with an editor as well.

The connection will be made with KIO and you can simulate it, when you enter an URL in the dolphins address field:
Code: Select all
sftp://<user>@<host>:<port><remote_folder>
port and remote_folder are optional.

To simplify the URL, you can add a "Host"section in your ~/.ssh/ssh_config file.
The question is, what happends, when you have a passphrase for you private key. I mean, ask KIO for passwort or passphrase ... ???
yogis
Registered Member
Posts
3
Karma
0

Re: KnetAttach with private key  Topic is solved

Mon Sep 02, 2019 12:22 pm
Ok i found solution, only add my public key to .ssh/authorized_keys/
Code: Select all
ssh-add public.pem

thx o) o) o)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed