Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6044
  • Last Modified:

set up sftp server on red hat enterprise linux 5

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
vmwarecv1
Asked:
vmwarecv1
1 Solution
 
cjl7Commented:
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
 
0renCommented:
edit /etc/xinetd.d/tftp

change
disable yes to no
then run
/etc/init.d/xinetd reload
0
 
0renCommented:
chkconfig tftp on

/etc/init.d/xinetd reload
or
kill -1 <YOUR XINETD PID>
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
0renCommented:
make sure the tftp directory ( /tftpboot ) has 777 permissions if you need to write
0
 
cjl7Commented:
So either Oren or I misunderstood the question, it does however say "sftp"...

;)
0
 
omarfaridCommented:
what exactly you want to set in sftp?
0
 
scaryskullzCommented:
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
 
mknandhuCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now