Difference between revisions of "ChrootDirectory"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
 
  Added [[chroot]](2) support for sshd(8), controlled by a new option "<code>[[ChrootDirectory]]</code>". Please refer to sshd_config(5) for details, and please use this feature carefully. (bz#177 bz#1352)
 
  Added [[chroot]](2) support for sshd(8), controlled by a new option "<code>[[ChrootDirectory]]</code>". Please refer to sshd_config(5) for details, and please use this feature carefully. (bz#177 bz#1352)
  
 +
 +
Subsystem sftp internal-sftp
 +
 +
Match User sftp
 +
    ChrootDirectory /srv/sftp
 +
    ForceCommand internal-sftp
 +
    AllowTCPForwarding no
 +
    X11Forwarding no
  
 
== Activities ==
 
== Activities ==

Revision as of 10:18, 5 May 2020

2007-2008 https://linux.die.net/man/5/sshd_config


ChrootDirectory


Added chroot(2) support for sshd(8), controlled by a new option "ChrootDirectory". Please refer to sshd_config(5) for details, and please use this feature carefully. (bz#177 bz#1352)


Subsystem	sftp	internal-sftp
Match User sftp
   ChrootDirectory /srv/sftp
   ForceCommand internal-sftp
   AllowTCPForwarding no
   X11Forwarding no

Activities


Related terms

See also

Advertising: