Error while executing unix script from windows thro WinSCP
Hi All,
I am facing the below mentioned error, while executing unix script from windows through WinSCP.exe.
I am using the below command, i am getting the below mentioned error in the production, but in the test environment, i can able to execute the script, kindly help
C:\Gop\WinSCP\WinSCP.exe /console emerg1:Vm41L000@10.20.210.240 /command "call /home/emerg1/test.sh"
Searching for host...
Connecting to host...
Authenticating...
Using username "emerg1".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] emerg1@10.20.210.240
Searching for host...
Connecting to host...
Authenticating...
Using username "emerg1".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Connection has been unexpectedly closed. Server sent command exit status 255.
Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
winscp>
Thanks
Gopal
I am facing the below mentioned error, while executing unix script from windows through WinSCP.exe.
I am using the below command, i am getting the below mentioned error in the production, but in the test environment, i can able to execute the script, kindly help
C:\Gop\WinSCP\WinSCP.exe /console emerg1:Vm41L000@10.20.210.240 /command "call /home/emerg1/test.sh"
Searching for host...
Connecting to host...
Authenticating...
Using username "emerg1".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] emerg1@10.20.210.240
Searching for host...
Connecting to host...
Authenticating...
Using username "emerg1".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Connection has been unexpectedly closed. Server sent command exit status 255.
Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
winscp>
Thanks
Gopal