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

SFTP-Problems

Tags: None
(comma "," separated)
DieterK
Registered Member
Posts
4
Karma
0

SFTP-Problems

Wed Apr 27, 2011 11:01 pm
Hello :-)

I really love KDE, but i have problems with the SSH-FTP-Dialog.

I'm using SSH-Keys for connections and it should be properly configured. (~/.ssh/id_rsa and ~/.ssh/id_rsa.pub). It works perfectly via console.

After opening a connection with sftp://name@host:port/ KDE opens the "SFTP Login" dialog and asks for Username and Password. But sometimes the "Passphrase for private key:" doesn't shown up and i need to input Username and Password.

While using the connection, KDE asks for the Password many times. Not sure why...

The ssh-agent is running, not sure whats wrong.

Thanks
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: SFTP-Problems

Thu Apr 28, 2011 3:15 am
Which version of libssh and KDE do you have installed?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
DieterK
Registered Member
Posts
4
Karma
0

Re: SFTP-Problems

Thu Apr 28, 2011 4:59 pm
Oh sorry :/

KDE-Version: 4.6.2
libssh: 0.4.91
libssh2: 1.2.2
(using Gentoo)

Have the same problem since a long time. After starting kdevelop i sometimes got 20 Dialogs asking for Username/Password or Passphrase :/

Thanks
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: SFTP-Problems

Fri Apr 29, 2011 5:47 am
Ok, can you please ensure that your public key file is of a valid format, and is readable to your user?

Also, does normal ssh utilise your ssh-agent?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
DieterK
Registered Member
Posts
4
Karma
0

Re: SFTP-Problems

Sat Apr 30, 2011 5:03 am
Yeah, it's readable and working:
Code: Select all
dieter@foo ~ $ ssh-add
Enter passphrase for /home/dieter/.ssh/id_rsa:
Identity added: /home/dieter/.ssh/id_rsa (/home/dieter/.ssh/id_rsa)
dieter@foo ~ $ ssh root@xxxx -p 2300
Linux xxxx 2.6.32-5-xen-amd64 #1 SMP Sat Oct 30 17:04:10 UTC 2010 x86_64
...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: SFTP-Problems

Tue May 03, 2011 7:43 am
Is the SFTP io slave even detecting your ssh-agent? If it is, it will probably have the Username field greyed out (with the text similar to "Enter password for /home/foo/.ssh/id_rsa:" in it)

If it isn't, it will have your regular Username in it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]