chroot sftp

Add group sftponly

edit sshd config

# override default of no subsystems
#Subsystem sftp /usr/libexec/openssh/sftp-server
Subsystem sftp internal-sftp

Match Group sftponly
ChrootDirectory /home/%u
X11Forwarding no
AllowTCPForwarding no
ForceCommand internal-sftp

chown root FOLDER for the home directory (and every directory to /)

ssh won’t work, but sftp will work all users in sftponly group.

tw_cli

Source tw_cli – Linux man page for AMCC/3ware Storage Management CLI.



NAME

tw_cli(8) – AMCC/3ware Storage Controller Management Command Line Interface.

Continue reading “tw_cli”