Linux how to start "sftp-server"?

夏期劇場 picture 夏期劇場 · Apr 1, 2013 · Viewed 85.9k times · Source

I'm not very familiar with it but there is installed openssh/sftp-server (by a vendor before) on RHEL and it was well running before i reboot the server. Then when i check after rebooted:

# ps aux | grep ftp

No sftp is running but sshd is.

So how do i do to have this sftp running please?

Answer

Pedro Bezunartea López picture Pedro Bezunartea López · Aug 26, 2013

You only need to add the following line to your /etc/ssh/sshd_config file:

Subsystem sftp /usr/libexec/openssh/sftp-server

or

Subsystem sftp /usr/lib/openssh/sftp-server