Incompatible External Console Protocol Version 10

Advertisement

ntoreax
Joined:
Posts:
15

Incompatible External Console Protocol Version 10

Good Evening Support Team
I would like to report an error am facing when I run the below script
(note that when I simulate it on a Win 10 machine moving files from my vm (Ubuntu))
"C:\Program Files (x86)\WinSCP\winscp.com9" /ini=nul /log=logfile.log /script=C:\Users\axel.ntore\Desktop\shscripts\ScriptPswift.txt
 
pause
option batch abort
option confirm off
open sftp://username:password@ip -hostkey="ssh-ed25519 255 key..."
get /home/rsadmin/script_file_transfer/ptest/* E:\DestinationPswiftTestFolder
exit
When I run the script on my local machine Win 11 moving files from ubuntu VM server
C:\Users\axel.ntore\Desktop\shscripts>"C:\Program Files (x86)\WinSCP\winscp.com" /ini=nul /log=logfile.log /script=C:\Users\axel.ntore\Desktop\shscripts\ScriptPswift.txt
batch           abort
confirm         off
Searching for host...
Connecting to host...
Authenticating...
Using username "ntoreax".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] ntoreax@172.27.163.43
bank4                     |            0 B |    0.0 KB/s | binary |   0%
bank3                     |            0 B |    0.0 KB/s | binary |   0%
bank1                     |            0 B |    0.0 KB/s | binary |   0%
bank2                     |            0 B |    0.0 KB/s | binary |   0%

C:\Users\axel.ntore\Desktop\shscripts>pause
Press any key to continue . . .
When I run it on the server I get the following error
Incompatible External Console Protocol Version 10

Unfortunately the log file does not capture anything that I can share.
When I check the forum I noticed that you mentioned for Incompatible External Console Protocol Version 5 , 7 that there was a mismatch of version (winscp.exe and winscp.net) but i am not sure how to check this one too (please advise if that is what could be the cause)

If any details needed please let me know.

scriptIssue1.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,478
Location:
Prague, Czechia

Re: Incompatible External Console Protocol Version 10

It's most likely the same issue. Your installation of WinSCP is somehow broken. You have different version of winscp.exe and winscp.com (not "winscp.net"). Please reinstall WinSCP.

Reply with quote

ntoreax
Joined:
Posts:
15

Re: Incompatible External Console Protocol Version 10

@martin Thanks for your quick feedback and as usual you are 100 % right. It's a version issue
after reinstallation it worked like a charm.

Lastly the WinSCP script password a written in plain text is there a way we can secure this?

Axel N

Reply with quote

Advertisement

You can post new topics in this forum