Networking Forums

Networking Forums > Computer Networking > Linux Networking > Setting up Redhat9 ssh-server for sftp?

Reply
Thread Tools Display Modes

Setting up Redhat9 ssh-server for sftp?

 
 
xxxxxx
Guest
Posts: n/a

 
      08-05-2003, 07:09 AM
I would like to setup a 'secure ftp' server for my workplace.
In the past, we set-up a traditional ftp-server using Redhat 7.2
and wu-ftpd. I configured wu-ftpd to 'confine' each user's
root-directory to his homedirectory (there's a name for this,
I forgot what it's called.) This worked great.

Now, I'd like to setup a 'secure' FTP-server. I did a little
reading, and found out that most ssh-clients include a nice
GUI/front-end that looks like 'ftp'...For example, linux
includes the gftp program (ssh-capable), and putty for
Windows has a command-line sftp program.

Unfortunately, in every sftp client I've tried (windows, linux),
the user has full directory access to the entire disk directory structure.
When the sftp-user enters our ftp-server, I want that
user's '/' directory to be his home-directory. In other words,
he should not be allowed to see other user's directory,
or the /etc, /bin/, and other dirs.

I assume this is a server-side configuration issue. I've
checked the man-page on sshd_config, but I
didn't see anything to accomplish this. (If I missed
something, point it out! I'm a novice...)
....

In ssh-server, Is it possible to somehow confine the user
ssh-logins to their home-dirs? I'm using the openssh that
comes with Redhat 9...(the new ftp-server is going to be
upgraded from redhat 7.2 -> 9)

....

Is it just me, or does (Redhat 9's) gftp abort when I
ssh to a system that has /etc/motd. (My machine has a
motd that's 15-20 lines of text.)

sftp for Windows (included with 'putty') can successfully
login and up/download files on the same server!


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP : BLUEZ on RedHat9.0 dm Linux Networking 2 04-23-2005 07:06 PM
RedHat9 and IP Forwarding stewart menday Linux Networking 1 12-11-2003 02:16 PM
how do i get redhat9 to see novell 4.11 Todd Linux Networking 3 10-30-2003 09:32 PM
xp-redhat9 gamalt Linux Networking 1 10-12-2003 03:20 PM
sftp server --> authenticate against MySQL? B Young Linux Networking 1 09-24-2003 05:09 PM



1 2 3 4 5 6 7 8 9 10 11