[scponly] comandline works, winscp not

Kaleb Pederson kaleb.pederson at gmail.com
Tue Sep 30 11:42:48 EDT 2008


On Tuesday 30 September 2008, scponly at bischof.homelinux.net wrote:
> Dear all,
>
> I've some problems with my scponlyc, which I cannot solve by myself
> after some hours of trying. If I do scp via commandline, everything
> work's fine:
>
[...snip...]

> But if I use WinSCP, which I need for some friend of mine, I get errors
> that the user is not allowed to execute /bin/pwd and such:
[...snip...]

> Sep 30 14:56:26 linux scponly[18402]: processing request: "pwd"
> Sep 30 14:56:26 linux scponly[18402]: running: /bin/pwd (username:
> rolli(1005), IP/port: 127.0.0.1 38632 22)
> Sep 30 14:56:28 linux scponly[18402]: processing request: "pwd"
> Sep 30 14:56:28 linux scponly[18402]: running: /bin/pwd (username:
> rolli(1005), IP/port: 127.0.0.1 38632 22)

It looks like everything works fine.  Where do you get the error message?  
Is /bin/pwd really in the chroot?

Please let us know.

Thanks.

--Kaleb



More information about the scponly mailing list