Solved

set up sftp server on red hat enterprise linux 5

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

831 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