How to supply Enviroment SCP/Shell /bin/bash

Advertisement

/dev/null
Guest

How to supply Enviroment SCP/Shell /bin/bash

Hi,

I'm having an unusual device called Covergence SBC and I need to copy the file from it every night via SCP. Over the gui it works only when I change in the Environment SCP/Shell to "/bin/bash" instead of "Default". When I'm trying to automate the script using command line, WinSCP can login but stops on "Starting Session" and hangs there. So I'm suspecting the Environment settings are used as "Default" when program called from command line. I looked through the guide for the options and not finding anything related to that. How I can change WinSCP command line option for Environment?
Thank you!

Regards,

Reply with quote

Advertisement

joni
Guest

i didn't understand how to do so....

Hi,
can please post here an example how to do so ...?
......WinSCP.com root@localhost

Searching for host...
Connecting to host...
Authenticating...
Using username "root".
Password:
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] root@127.0.0.1
winscp>
winscp> ls -la
Unknown switch 'la'.
winscp> /bin/bash
Unknown command '/bin/bash'.
winscp>


please help

Reply with quote

Advertisement

You can post new topics in this forum