PDA

View Full Version : Ssh/scp without password?



Boghog
10-16-2015,
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.

Boochejah
10-18-2015,
[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, inCallMethod
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 "", 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.

Borissop
10-20-2015,
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, which doesn't support it.

Borusupdam
10-21-2015,
Thanks for the quick reply!