Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

jjaramillo

Re: Error while executing unix script from windows thro WinSCP

martin wrote:

I have no idea. Check your server log.


-> Maibe if your user was just created u need to enter using putty and change the password "Is required by the firs time u use the user", after u change thhe password try again to log using winscp.
martin

Re: Error while executing unix script from windows thro WinSCP

I have no idea. Check your server log.
Guest

Re: Error while executing unix script from windows thro WinSCP

martin wrote:

Please read documentation. If that does not help, come back.



I had gone through the document earlier itself, could you please advice me, why it is not working in production , where as test server it is working fine.......................


Thanks
Gopal
martin

Re: Error while executing unix script from windows thro WinSCP

Please read documentation. If that does not help, come back.
Gopal

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