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

Re: BASH error, scp from commandline

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

Re: BASH error, scp from commandline

And have you tried the /rawsettings switch as suggested in the article linked above?

Reply with quote

Bogey

Re: BASH error, scp from commandline

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

Advertisement

You can post new topics in this forum