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

joni

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
martin

Re: How to supply Enviroment SCP/Shell /bin/bash

Please read FAQ. If that does not help, come back.
/dev/null

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,