Difference between revisions of "Secure file transfer program (sftp)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
  
 
== Activities ==
 
== Activities ==
* Read https://askubuntu.com/a/206376
+
* Read https://askubuntu.com/a/206376 [[sftp configuration]]
  
#Subsystem sftp /usr/lib/openssh/sftp-server
 
Subsystem sftp internal-sftp
 
 
and create a user section at the end of the file (ssh can die respawning if placed after Subsystem line):
 
 
[[Match]] User john
 
    ChrootDirectory %h
 
    ForceCommand internal-sftp
 
    AllowTCPForwarding no
 
    X11Forwarding no
 
  
 
== Related terms ==
 
== Related terms ==

Revision as of 16:42, 5 May 2020

Advertising: