Re: Trouble using authPubkey authentication - WeOnlyDo Discussion board

Re: Trouble using authPubkey authentication (General questions)

by A. McDermott, Monday, November 21, 2005, 23:58 (6943 days ago) @ Damiano

I am having a problem similar to the one already mentioned in this thread.

I use wodSFTP and wodSSH. I can properly transfer files between my program and a remote server using authPubkey and wodSFTP. I however cannot connect to the same remote sever using the same private key and settings with wodSSH.

with wodSSH, connect returns -2146798272 (explained in this thread). When I run the remote sshd in debug mode, it seems that wodSSH does not attempt to authenticate with my private key the same way the wodSFTP does.

wodSFTP:
[code]
debug1: userauth-request for user xyz service ssh-connection method none
debug1: userauth-request for user xyz service ssh-connection method publickey
[/code]

wodSSH:
[code]
debug1: userauth-request for user xyz service ssh-connection method none
[/code]

What can cause this type of situation? I am using the same private key for both the ssh and sftp code.


Complete thread: