Topic "How to supply Enviroment SCP/Shell /bin/bash"

Author Message
/dev/null

Guest


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,
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl
joni

Guest


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
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License