jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] ssh from jailed user


From: Richard Scott
Subject: Re: [Jailkit-users] ssh from jailed user
Date: Fri, 14 Feb 2014 08:24:30 +0000
User-agent: Roundcube Webmail/0.9.5

How did you create your Jail?

You should have a /dev/null inside your jail.


I create mine like this:

jk_init -j /myjail terminfo ssh sftp scp

and the "ssh sftp scp" option creates the required devices.

Rich

 

 

On 14/02/2014 08:06, OCEANET - Cédric BASSAGET wrote:

Hello Olivier,

I still have the same problem, with :

address@hidden ~]$ ls -la /dev/null   
crwxrwxrwx 1 root root 1, 3 Feb 13 13:10 /dev/null
address@hidden ~]$ ssh -v 10.10.10.10
Couldn't open /dev/null: Permission denied


Le 13/02/2014 21:49, Olivier Sessink a écrit :
On 02/13/2014 01:23 PM, OCEANET - Cédric BASSAGET wrote:


But I still have this error :
address@hidden ~]$ ssh -v 10.10.10.10
Couldn't open /dev/null: Permission denied

try

chmod a+rw /path/to/jail/dev/null

Olivier


-- 
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/


_______________________________________________
Jailkit-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/jailkit-users


_______________________________________________
Jailkit-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/jailkit-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]