Hi,
Currently we are using Renci.SshNet V2013.4.7.0 dll for connecting to FTP host. But seems that it is working correctly if we map to a physical host but fails to connect if it is a logical Host.
The Unix Team in our organisation advised on changing the following options:
StrictHostkeyChecking (needs to be set to no)
UserKnownHostsFile (should be set to /dev/null)
NoHostAuthenticationForLocalHost (should be set to yes)
Can anyone guide us as to how to do these from the application code.
Please advise if you need further details.
Thanks
Ali.
Comments: ** Comment from web user: WebDevTony **
Currently we are using Renci.SshNet V2013.4.7.0 dll for connecting to FTP host. But seems that it is working correctly if we map to a physical host but fails to connect if it is a logical Host.
The Unix Team in our organisation advised on changing the following options:
StrictHostkeyChecking (needs to be set to no)
UserKnownHostsFile (should be set to /dev/null)
NoHostAuthenticationForLocalHost (should be set to yes)
Can anyone guide us as to how to do these from the application code.
Please advise if you need further details.
Thanks
Ali.
Comments: ** Comment from web user: WebDevTony **
I don't know if I'm connecting to a logical machine or not, but I was getting the exact same error. I found that taking the "sftp://" portion off of the URL allows me to connect no problem now. CRAZY, RIGHT??? You think a client that supports sftp would allow you to qualify it in a URL to a host. Oh well...