BASH error, scp from commandline

Advertisement

Bogey
Joined:
Posts:
3

BASH error, scp from commandline

I am running WinSCP V 5.1.3 on a Windows 7 box.

I am trying to connect to a site which does not allow ftp. All I need to do is copy a single file from here to there. I am using this commandline:

winscp.com scp://myusername:password@theirsite.com:/filedestination /upload filename

I get back this:
Searching for host...
Connecting to host...
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Connection has been unexpectedly closed. Server sent command exit status 1.
Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

Is there some way to set the BASH shell as a commandline option?

Reply with quote

Advertisement

Bogey
Joined:
Posts:
3

Re: BASH error, scp from commandline

martin wrote:

Please read documentation:
https://winscp.net/eng/docs/rawsettings

If that does not help, come back.

Thank you, I have read the documentation. I guess I should have mentioned that I have already tried every variation of "/shell=/bin/bash" that I can think of.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: BASH error, scp from commandline

Bogey wrote:

Thank you, I have read the documentation. I guess I should have mentioned that I have already tried every variation of "/shell=/bin/bash" that I can think of.
And have you tried the /rawsettings switch as suggested in the article linked above?
_________________
Martin Prikryl

Reply with quote

Bogey
Joined:
Posts:
3

Re: BASH error, scp from commandline

martin wrote:

Bogey wrote:

Thank you, I have read the documentation. I guess I should have mentioned that I have already tried every variation of "/shell=/bin/bash" that I can think of.
And have you tried the /rawsettings switch as suggested in the article linked above?

I couldn't find any clear explanation of what these switches are supposed to do. Thanks for your help, but I am giving up on WinSCP. I have found another application whose instructions are more clear to me, and which does what I need.

Reply with quote

Advertisement

You can post new topics in this forum