your shell is probably incompatible with the application (bash is recommended)

Advertisement

Vignesh
Joined:
Posts:
1
Location:
Bangalore

your shell is probably incompatible with the application (bash is recommended)

Hi,
I tried to download files from SFTP path using private key. I used WinSCP user interface. It works fine. But when I tried with Batch file it shows the error as attached. With the guidance of your forum I have created the batch file. When I run it, command prompt shows that authenticated and then starting the session. But after the it shows an error like "connection has been unexpectedly closed server sent command exit status 1. Error skipping startup message. Your shell is probably incompatible with the application (Bash is recommended).
Please refer the screenshot and suggest.

Thanks.

WinSCP-Error.jpg

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,551
Location:
Prague, Czechia

Re: your shell is probably incompatible with the application (bash is recommended)

Please attach a session log file both from the script and the GUI.

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum