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

martin

Re: Errors when remote shell is restricted

Greg wrote:

Hi,
when user's shell on remote machine is restricted (rbash or something)
winscp can't list contents of any directory, because with
rbash command `cd' is not allowed. But you still can do
`ls directory/subdirectory'
Winscp can copy to remote directory, but from remote to local can't.

Why is the cd disallowed? I do not see the point.
I know that there are some other restricted shell with which WinSCP works fine. Search the forum for references.

Command line tools like scp or pscp.exe had no problem with restricted shell.

Sure, because they are much simpler in their functionality. They can just copy, nothing else.
Greg

Errors when remote shell is restricted

Hi,
when user's shell on remote machine is restricted (rbash or something)
winscp can't list contents of any directory, because with
rbash command `cd' is not allowed. But you still can do
`ls directory/subdirectory'
Winscp can copy to remote directory, but from remote to local can't.
Command line tools like scp or pscp.exe had no problem with
restricted shell.

Greg