LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 01-16-2004, 07:26 AM   #1
FORESTHUS
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
Question let a user only connect via sftp


Hi there,

Im using redhat 7.3 and redhat9.0 and Ive got a question.

If there is someone who wants to get access via sftp (openssh) to a server, but he/she should only stay in there homedirectory, how should I configure that?


PLEASE HELP

THNX


gero
 
Old 01-16-2004, 08:44 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Using something like scponly or rssh as their shell and chroot them to their home directory.
 
Old 01-16-2004, 09:13 AM   #3
FORESTHUS
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
how

but how do i do that.

im newbee
 
Old 01-16-2004, 09:19 AM   #4
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Go find a copy of either scponly or rssh, read the documentation, and install it. That would be a good starting point.
 
Old 01-16-2004, 09:20 AM   #5
FORESTHUS
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
source

where can i find the sources?
 
Old 01-16-2004, 09:24 AM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
google.
 
Old 01-16-2004, 09:26 AM   #7
FORESTHUS
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy ok

ok thanx
 
Old 01-16-2004, 11:09 AM   #8
FORESTHUS
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Question found source, but what now ??

found source, but what now ??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect using SFTP nethook Linux - Security 3 04-14-2005 02:17 PM
sftp user monitoring? lostlyre Linux - Software 1 07-02-2004 10:36 PM
chroot sftp user group bmeckle Linux - Newbie 0 06-02-2004 04:58 PM
sftp does not connect tpjets62 Fedora 9 02-17-2004 11:45 AM
chroot sftp user? cliffyman Linux - Security 8 05-08-2003 10:58 PM


All times are GMT -5. The time now is 05:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration