![]() |
|
|
|
|||
|
Hi.
I was wandering if i can use OpenSSH to close users in own shell instead using chroot or sysjail. I heard about this metod but i cant find any manual or faq. Maybe someone of you used or using. Thx. Last edited by bryn1u; 29th September 2011 at 09:12 AM. |
|
||||
|
http://undeadly.org/cgi?action=artic...&mode=expanded
http://undeadly.org/cgi?action=artic...&mode=expanded http://marc.info/?l=openbsd-misc&m=131722715504856&w=2
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
Forgot one -- you were looking for a manual as well. See the sshd_config(5) man page, and search for ChrootDirectory.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I dont want to close sftp. I want to close in SHELL account. Something like chroot but using Openssh. I heard about this case. But someone had to interfere in source code of openssh and i don't know how.
|
|
||||
|
The instructions are under the ChrootDirectory option in the man page I referred you to. Each application or utility needed by your users must be placed into the directory structure, as described. For an example of that, including supporting libraries, see FAQ 10.16.
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 30th September 2011 at 01:59 AM. Reason: typo and clarification |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OpenSSH 5.9 arrives | J65nko | News | 0 | 7th September 2011 12:35 AM |
| OpenSSH 5.7 released | J65nko | News | 0 | 25th January 2011 07:16 PM |
| OpenSSH 5.5 release | J65nko | News | 0 | 27th April 2010 11:26 PM |
| OpenSSH 5.4 Release | J65nko | News | 0 | 9th March 2010 07:48 PM |
| What is the best kind of OpenSSH? | php111 | Other OS | 3 | 3rd June 2008 10:32 PM |