View Single Post
Posts: 63 | Thanked: 139 times | Joined on Apr 2010
#3
Thanks for your commments deed!

Originally Posted by deed View Post
Wouldn’t it be easier to simply ask the password like any xterm ssh connection? or at least the ability to choose in the setting between a key file and a password request?
OpenSSH on Maemo5 does not support asking password in graphical enviroment (ssh-askpass does not seem to exist for N900). In terminal it works...

In addition, for security reasons openssh-client doesn't allow sending the password as a command line parameter/enviroment variable etc. so the program can't tell it to ssh.

But, in fact there is an undocumented way you can use URPO with password :
1. start it from xterm
2. leave the sshkeyfile empty in settings
3. Press connect
4. Switch to xterm and give the password (you have 15 seconds before the timeout

(Longer timeout when sshkeyfile is empty is now added to todo list, and will hopefully appear in the next release, whenever that comes out...)

As for your other request, I think exuvo is right: there probably is no way to capture an existing SSH connection.