Cannot connect to SFTP servers on KDE without ksshaskpass

Bug #1055293 reported by dcecchin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
filezilla (Ubuntu)
New
Undecided
Unassigned

Bug Description

I noticed when trying to connect to a SFTP server that requires a SSH key, the connection would fail.

Trace:Pageant is running. Requesting keys.
Trace:Pageant has 0 SSH-2 keys
Trace:Using keyboard-interactive authentication. inst_len: 0, num_prompts: 1
Command:Pass: *******
Trace:Access denied

On Ubuntu, (GNOME+Unity) you'd first see the dialog asking for the passphrase (inside Filezilla) and then the Ubuntu ssh dialog would appear. The same one that appears if you try to connect to some random ssh server on the terminal.

As I was using KDE I didn't have this available. I discovered that it's failing because ksshaskpass was missing.

I suspect this fault might effect other packages that also depend on an ask password manager like gnome-ssh-askpass or ksshaskpass.

For the time being I've done what this page recommends: http://www.unicom.com/blog/entry/612 - ie:

cat >~/.kde/Autostart/ssh-add.sh <<_EOT_
#!/bin/sh
export SSH_ASKPASS=/usr/bin/ksshaskpass
ssh-add </dev/null
_EOT_
chmod +x ~/.kde/Autostart/ssh-add.sh

I'm also wondering whether ksshaskpass isn't included in the default kubuntu-desktop metapackage because of bug #874199 and bug #483604

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.