Solved

set up sftp server on red hat enterprise linux 5

Posted on 2009-05-14
9
5,994 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
 
LVL 5

Expert Comment

by:0ren
ID: 24387960
make sure the tftp directory ( /tftpboot ) has 777 permissions if you need to write
0
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.

 
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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now