Access denied
I've just started using WinSCP and think its a great tool. I'm using it to pass files around various networked PCs.
On one PC which is part of a domain I'm synchronizing files to another PC within a workgroup over the network.
Using the GUI, I can make a connection and transfer the files manually. All works ok except the connection keeps timing out and reconnecting and sometimes asking for the password again. I also can't delete files from the destination, access denied!!
Ultimately I want to use a script to transfer files on a routine basis but the script does work. The script works good on one PC so I know the contents is correct, when on this PC it doesn't work, although I have changed the connection details.
Log states
any help would be appreciated
On one PC which is part of a domain I'm synchronizing files to another PC within a workgroup over the network.
Using the GUI, I can make a connection and transfer the files manually. All works ok except the connection keeps timing out and reconnecting and sometimes asking for the password again. I also can't delete files from the destination, access denied!!
Ultimately I want to use a script to transfer files on a routine basis but the script does work. The script works good on one PC so I know the contents is correct, when on this PC it doesn't work, although I have changed the connection details.
Log states
. 2021-05-12 16:16:46.194 --------------------------------------------------------------------------
. 2021-05-12 16:16:46.195 Looking up host "x.x.x.x" for SSH connection
. 2021-05-12 16:16:46.195 Connecting to x.x.x.x port x
. 2021-05-12 16:16:46.198 We claim version: SSH-2.0-WinSCP_release_5.17.10
. 2021-05-12 16:16:46.198 Remote version: SSH-2.0-WeOnlyDo 2.5.5
. 2021-05-12 16:16:46.198 Using SSH protocol version 2
. 2021-05-12 16:16:46.199 Have a known host key of type rsa2
. 2021-05-12 16:16:46.208 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2021-05-12 16:16:46.248 Server also has ssh-dss host key, but we don't know it
. 2021-05-12 16:16:46.248 Host key fingerprint is:
. 2021-05-12 16:16:46.248 ssh-rsa 1024 18:a9:3e:4c:c5:4f:a4:d6:18:72:78:2d:c7:8c:1b:61 v4yfKd4Z2F+zeFpj8ed08L3HZoR+2a4q38k+h+5Jf6k=
. 2021-05-12 16:16:46.249 Host key matches configured key fingerprint
. 2021-05-12 16:16:46.249 Initialised AES-256 SDCTR (unaccelerated) outbound encryption
. 2021-05-12 16:16:46.249 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2021-05-12 16:16:46.250 Initialised AES-256 SDCTR (unaccelerated) inbound encryption
. 2021-05-12 16:16:46.250 Initialised HMAC-SHA-256 inbound MAC algorithm
! 2021-05-12 16:16:46.250 Using username "xxxx".
. 2021-05-12 16:16:46.251 Server offered these authentication methods: password
. 2021-05-12 16:16:46.251 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2021-05-12 16:16:46.251 Using stored password.
. 2021-05-12 16:16:46.251 Sent password
. 2021-05-12 16:16:46.252 Password authentication failed
! 2021-05-12 16:16:46.252 Access denied
. 2021-05-12 16:16:46.252 Server offered these authentication methods: password
. 2021-05-12 16:16:46.252 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2021-05-12 16:16:46.252 User aborted during password authentication
. 2021-05-12 16:16:46.253 Attempt to close connection due to fatal exception:
* 2021-05-12 16:16:46.253 **Connection has been unexpectedly closed.** Server sent command exit status 0.
. 2021-05-12 16:16:46.253 Closing connection.