Public bug reported:

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

** Affects: filezilla (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1055293

Title:
  Cannot connect to SFTP servers on KDE without ksshaskpass

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/filezilla/+bug/1055293/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to