Ssh/scp without password?

I use client certificates on my Mac workstation, so the server does not require credentials. I can ssh and scp from the command line without problem.

Komodo IDE requires a username in the preferences, but will save without it. When it comes time to scp a file to the server, the username/password prompt is raised and it fails either with or without username and password. Similar servers without client certs work fine with username and password.

Log file below…

Is there a way to pull this off?

Thanks,
Dave

[2014-10-21 16:58:25,863] [WARNING] prefs.servers: Missing a required field. Name, Host Name and User Name are required fields.
[2014-10-21 16:58:34,073] [WARNING] prefs.servers: Missing a required field. Name, Host Name and User Name are required fields.
[2014-10-21 16:58:39,056] [WARNING] prefs.servers: Missing a required field. Name, Host Name and User Name are required fields.
[2014-10-21 16:58:49,499] [WARNING] koSCPConnection: do_authenticateWithPassword:: SSHException: Authentication failed.
[2014-10-21 16:58:49,499] [WARNING] koSCPConnection: SSH error: Invalid username/password
ERROR:xpcom:Unhandled exception calling ‘int8 * open(in wstring, in int32, in wstring, in wstring, in wstring, in boolean, out retval boolean);’
Traceback (most recent call last):
File “/Applications/Komodo IDE 8.app/Contents/MacOS/python/xpcom/server/policy.py”, line 300, in CallMethod
return 0, func(*params)
File “/Applications/Komodo IDE 8.app/Contents/MacOS/python/komodo/remotefilelib.py”, line 383, in open
self.promptForUsernameAndPassword(path)
File “/Applications/Komodo IDE 8.app/Contents/MacOS/python/xpcom/components.py”, line 258, in wrapperFn
threadMgr.mainThread.dispatch(method, dispatch_flags)
File “<XPCOMObject method ‘dispatch’>”, line 3, in dispatch
Exception: 2147500037 (NS_ERROR_FAILURE)
[2014-10-21 16:59:24,145] [WARNING] koSCPConnection: do_authenticateWithPassword:: SSHException: Authentication failed.
[2014-10-21 16:59:24,145] [WARNING] koSCPConnection: SSH error: Invalid username/password
[2014-10-21 16:59:28,192] [WARNING] koSCPConnection: do_authenticateWithPassword:: SSHException: Authentication failed.
[2014-10-21 16:59:28,192] [WARNING] koSCPConnection: SSH error: Invalid username/password
[2014-10-21 16:59:33,224] [WARNING] koSCPConnection: do_authenticateWithPassword:: SSHException: Authentication failed.
[2014-10-21 16:59:33,224] [WARNING] koSCPConnection: SSH error: Invalid username/password
[2014-10-21 16:59:33,225] [ERROR] koSCPConnection: SCP open ERROR: Authentication failed.

If you are referring to SSH Certificate Authentication (and not public key authentication), then Komodo does not support this - as Komodo’s underlying SSH components are based on Paramiko, which doesn’t support it.

Thanks for the quick reply!

Given the chronic problems with password authentication and the ubiquity of cloud services like EC2 that use certificate-based authentication, are there any plans to change this?

Alternatively, given the number of threads asking for this (I found one tonight going back to 2007 and ActiveState responded that the feature was in plan!) is it worth mentioning that a useable Windows workaround is to set up Komodo as the editor for WinSCP and use WinSCP as the front-end for selecting files to edit? Perhaps there’s an equally useful workaround for Linux? Seems a shame to respond “cant’ get there from here” and leave it at that.

We’re working on a new documentation site and will be sure to address this.