The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 SSH Access restriction ...
Author: shri 
Date:   18-12-03 13:33

Hello there ,

I am setting up an server to which i will be giving few users the SSH access to my server ,but now i dont want the users to peep in to each other directory ,.....for this setup i tired jailing the user by modifying the script....some say doing CHROOT to ssh ..but did not explain how to...

Can any body help me doing this ..

Help will be appreciated


Shri

Reply To This Message
 
 Re: SSH Access restriction ...
Author: el_kab0ng 
Date:   30-12-03 23:28

This forum is for scripts and tips. You want the "Support" forum.

Reply To This Message
 
 Re: SSH Access restriction ...
Author: ljud 
Date:   27-05-05 20:37

chmod 711 /home
chmod 711 /home/*
and
echo " chmod 711 ~ " >> /etc/profile
when people log in
they will auto set their home dir 711
so noone can read what is inside of it:)shri wrote:

> Hello there ,
>
> I am setting up an server to which i will be giving few users
> the SSH access to my server ,but now i dont want the users to
> peep in to each other directory ,.....for this setup i tired
> jailing the user by modifying the script....some say doing
> CHROOT to ssh ..but did not explain how to...
>
> Can any body help me doing this ..
>
> Help will be appreciated
>
>
> Shri

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org