[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to configure SFTP



David Powell wrote:

> I'm trying to setup sftp on my debian box, but am having some difficulty.

> I have tried adding the following lines (not all at the same time) to
> the sshd_config file:
> 
> subsystem sftp
> subsystem sftp-server
> subsystem /usr/lib/sftp-server
> subsystem-sftp sftp-server
> 
> When restarting sshd I get an error about either a bad configure option
> (last line) or missing subsystem comman (first 3 lines).

Try this (copied from my sshd_config):

Subsystem sftp /usr/lib/sftp-server

Adam



Reply to: