On 28.03.19 13:43, Peter Wiersig wrote:
> basti writes:
>> On 28.03.19 08:21, Peter Wiersig wrote:
>>> basti writes:
>> Try scp:
>>
>> /usr/sbin/sshd -d -p
>>
>> Starting session: command for alice from 2.206.185.146 port 45296 id 0
>
> So that reads as if all is fine, but then the next
basti writes:
> On 28.03.19 08:21, Peter Wiersig wrote:
>> basti writes:
> Try scp:
>
> /usr/sbin/sshd -d -p
>
> Starting session: command for alice from 2.206.185.146 port 45296 id 0
So that reads as if all is fine, but then the next line indicates that
the client has terminated the connec
On 28.03.19 12:15, wrote:
> Did you use Russ' supplied script
> /usr/share/doc/rss/examples/mkchroot.sh to create that environment?
>
> My contents after that script look quite different to your presented
> files.
>
> Did you act on the logging notice after using the script, so that the
> syslo
basti writes:
>
> Files inside chroot:
>
> /home/user# find ./
> ./
> ./bin
> ./bin/ls
> ./bin/date
> ./bin/bash
> ./.ssh
> ./.ssh/authorized_keys
> ./lib
> ./lib/x86_64-linux-gnu
> ./lib/x86_64-linux-gnu/libattr.so.1
> ./lib/x86_64-linux-gnu/libncurses.so.5
> ./lib/x86_64-linux-gnu/librt.so.1
> .
On 28.03.19 08:21, Peter Wiersig wrote:
> basti writes:
>
>> sftp -vv u...@example.com
>> Transferred: sent 2508, received 2260 bytes, in 0.2 seconds
>> Bytes per second: sent 15924.1, received 14349.5
>> debug1: Exit status 1
>> Connection closed
>>
>>
>> scp -vv u...@example.com:/foo /tmp
>> Tr
basti writes:
> sftp -vv u...@example.com
> Transferred: sent 2508, received 2260 bytes, in 0.2 seconds
> Bytes per second: sent 15924.1, received 14349.5
> debug1: Exit status 1
> Connection closed
>
>
> scp -vv u...@example.com:/foo /tmp
> Transferred: sent 2508, received 2304 bytes, in 0.2 sec
hello,
i try ro setup a chroot jail with rssh.
the jail seem to work if I set /bin/bash as shell.
(I get a prompt and can ls inside chroot)
When I set /usr/bin/rssh as login shell i get:
ssh u...@example.com
This account is restricted by rssh.
Allowed commands: scp sftp rsync
sftp -vv u...@exam
7 matches
Mail list logo