SFTP connection working in GUI but not via command prompt
Hello there,
We have an issue trying to connect to a remote server via SFTP using the WinSCP command prompt. Using the GUI interface with the same login credentials it works fine but when trying to automate this via a script it fails with the following error:
Also the session log shows the following error:
We have cached the host key fingerprint which works fine in the GUI but not via the WinSCP cmd prompt
On speaking to another company who have this working their log shows the following which ours is missing:
Any ideas on this?
Thanks in advance
We have an issue trying to connect to a remote server via SFTP using the WinSCP command prompt. Using the GUI interface with the same login credentials it works fine but when trying to automate this via a script it fails with the following error:
Authenticating... Using username "[USERNAME]". No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic) Authentication log (see session log for details): Using username "[USERNAME]".
Trying gssapi-with-mic... . Attempting GSSAPI authentication . GSSAPI authentication request refused . Server offered these authentication methods: publickey,gssapi-keyex,gssapi-with-mic . No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic) . Attempt to close connection due to fatal exception: * No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic) . Closing connection. < Script: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic) < Authentication log (see session log for details):
On speaking to another company who have this working their log shows the following which ours is missing:
Prompt (password, "SSH password", <no instructions>, "&Password: ") Using stored password. Script: Authenticating with pre-entered password. Sent password Access granted
Thanks in advance