jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] ssh only shell


From: Olivier Sessink
Subject: Re: [Jailkit-users] ssh only shell
Date: Wed, 05 Oct 2011 23:11:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15

On 09/28/2011 07:41 AM, Jhonny Boy wrote:
Hello
I would like to creat a ssh only shell user. Which would be chrooted.
(and must also be able to do tcp forwarding throw ssh tunnels)
I followed this howto :
http://olivier.sessink.nl/jailkit/howtos_ssh_only.html
with /home/jail as the jail and guest as username.

I did one line that is not written in this tutoriel : mkdir
/home/jail/home/guest -p.

I can not log myself on my computer here is the result :
"ssh address@hidden
address@hidden's password:
Last login: Wed Sep 28 00:27:54 2011 from localhost.localdomain
Connection to dagobah closed.
zsh: exit 53 ssh address@hidden"

that is the whole point of the tutorial, that you cannot login to get a normal shell. You can only use it as a proxy account for a new ssh session, like this:

ssh -X -t address@hidden ssh -X address@hidden

regards,
        Olivier

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



reply via email to

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