Solved

set up sftp server on red hat enterprise linux 5

Posted on 2009-05-14
9
6,006 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
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.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 71
Coding C# in Linux 8 120
awk sed 8 63
error while installing php56 in redhat enterprise linux 20 50
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 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