THanks
OMG I feel so stupid.... I stared at this for a long time and did not see it :(
Thanks !!
Thanks !!
ssh-ed25519 255
twice in
-hostkey="ssh-ed25519 255 ssh-ed25519 255 2Vhr2lmNwE1Cr268BUQhb4Ru4vgnQHxsPw0ZPfDKQaA="
-hostkey="ssh-ed25519 255 2Vhr2lmNwE1Cr268BUQhb4Ru4vgnQHxsPw0ZPfDKQaA="
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\UnifiBackup\Ace\aceWinSCP.log" /ini=nul /script="C:\UnifiBackup\AceCloudkey.scr"
acecloudlkey.scr
looks like this – User and passwords removed
open sftp://<username>:<password>@192.168.0.11/ -hostkey="ssh-ed25519 255 ssh-ed25519 255 2Vhr2lmNwE1Cr268BUQhb4Ru4vgnQHxsPw0ZPfDKQaA="
cd /data/autobackup
binary
get * "C:\Users\mandgphoto\OneDrive\Unifi Backups\ace\ACE_*"
winscp> open sftp://<username>:<password>@192.168.0.11/ -hostkey="ssh-ed25519 255 ssh-ed25519 255 2Vhr2lmNwE1Cr268BUQhb4Ru4vgnQHxsPw0ZPfDKQaA="
Searching for host...
Connecting to host...
Authenticating...
Using username "root".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] root@192.168.0.11
winscp> cd /data/autobackup
. 2022-04-16 14:47:50.432 Looking up host "192.168.0.11" for SSH connection
. 2022-04-16 14:47:50.433 Connecting to 192.168.0.11 port 22
. 2022-04-16 14:47:50.464 We claim version: SSH-2.0-WinSCP_release_5.17.9
. 2022-04-16 14:47:50.522 Remote version: SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u7
. 2022-04-16 14:47:50.522 Using SSH protocol version 2
. 2022-04-16 14:47:50.522 Have a known host key of type ssh-ed25519
. 2022-04-16 14:47:50.556 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2022-04-16 14:47:50.675 Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them
. 2022-04-16 14:47:50.675 Host key fingerprint is:
. 2022-04-16 14:47:50.675 ssh-ed25519 255 4f:47:5b:b5:7b:c8:eb:fb:8d:95:3c:0a:c4:70:87:fc 2Vhr2lmNwE1Cr268BUQhb4Ru4vgnQHxsPw0ZPfDKQaA=
[color=red]. 2022-04-16 14:47:50.675 Host key does not match configured key fingerprint ssh-ed25519 255 ssh-ed25519 255 2Vhr2lmNwE1Cr268BUQhb4Ru4vgnQHxsPw0ZPfDKQaA=[/color]
. 2022-04-16 14:47:50.675 Attempt to close connection due to fatal exception:
* 2022-04-16 14:47:50.675 Host key fingerprint is ssh-ed25519 255 2Vhr2lmNwE1Cr268BUQhb4Ru4vgnQHxsPw0ZPfDKQaA=.
* 2022-04-16 14:47:50.675 (Exception) **Host key does not match configured key fingerprint "ssh-ed25519 255 ssh-ed25519 255 2Vhr2lmNwE1Cr268BUQhb4Ru4vgnQHxsPw0ZPfDKQaA="!**
. 2022-04-16 14:47:50.675 Closing connection.