SFTP using ChrootDirectory
In newer releases of OpenSSH it’s almost as easy as ProFTPD’s DefaultRoot
to restrict a user to the home folder. You no longer need to setup a full
chroot
environment including copies/links to essential libraries etc.
In newer releases of OpenSSH it’s almost as easy as ProFTPD’s DefaultRoot
to restrict a user to the home folder. You no longer need to setup a full
chroot
environment including copies/links to essential libraries etc.
If you want to put a backdoor^H^H^H^H^H^H^H^HSSH Tunnel in the background,
just use the options f
for background and N
for no commands, doing just
port forwarding.
ssh -f -N -R 1234:localhost:22 vps01.example.org