Solved

set up sftp server on red hat enterprise linux 5

Posted on 2009-05-14
9
6,012 Views
Last Modified: 2013-12-16
Hi All,
I wanted to setup sftp server on rhel 5 server.
I googled but didn't find any proper resources or documents how to setup sftp.
I have already setup vsftp, but I am initerested in setting up sftp.
Please provide me with documentation or procedure to set up sftp.

Thanks in advance.
0
Comment
Question by:vmwarecv1
9 Comments
 
LVL 14

Accepted Solution

by:
cjl7 earned 500 total points
ID: 24385731
It's already done! (comes with standard RHEL)

Try to do a "sftp localhost" as a user that can ssh into the system...

If you for some reason hasn't got ssh installed just do a "yum install ssh"

//jonas
0
 
LVL 5

Expert Comment

by:0ren
ID: 24387929
edit /etc/xinetd.d/tftp

change
disable yes to no
then run
/etc/init.d/xinetd reload
0
 
LVL 5

Expert Comment

by:0ren
ID: 24387949
chkconfig tftp on

/etc/init.d/xinetd reload
or
kill -1 <YOUR XINETD PID>
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:0ren
ID: 24387960
make sure the tftp directory ( /tftpboot ) has 777 permissions if you need to write
0
 
LVL 14

Expert Comment

by:cjl7
ID: 24388901
So either Oren or I misunderstood the question, it does however say "sftp"...

;)
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24389882
what exactly you want to set in sftp?
0
 
LVL 2

Expert Comment

by:scaryskullz
ID: 24560004
sftp is provided by ssh

check firewall rules to see you can access your machine
# setup
will show a text based interface to set it up.

also check /etc/ssh/sshd_config to see and make sure
PermitRootLogin no
0
 
LVL 1

Expert Comment

by:mknandhu
ID: 24610752
do u need to set up the sftp with jailed users. so that they should not able to navigate through the file system. then here to go.
make-chroot-jail.txt
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question