Errors when remote shell is restricted

Advertisement

Greg
Guest

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum