FG

How can I setup the openSSH SFTP server on Linux?

Fresh3 days ago
Mar 15, 202641667 views
Confidence Score0%
0%

Problem

I want to configure sftp-server to share a directory but I don't know how to modify . My requirements are: 1) Login shall not use certificates, only password (i.e. authorization uses password method) 2) I want to login with user: ftp, password: foo and share directory /home/ftp. 3) I have an applic…

Error Output

Protocol 2
Subsystem sftp /usr/libexec/sftp-server
Match User ftp
   ForceCommand internal-sftp
   ChrootDirectory /home/ftp

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I setup the openSSH SFTP server on Linux?

Low Risk

You need make sure is owned by and that group and others don't have write permissions, e.g. . You need to add sub-directories for to add files in. You also need the subsystem, otherwise you need to provide a proper environment in : To disallow all n…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment