msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

28 Nov 2007 Deny SSH- but allow SFTP access

Posted by

This is an alternative way of limiting the SSH access to only SFTP explained in my How to restrict users to SFTP only instead of SSH post.Edit your /etc/sshd_config file and change your settings like thisMatch User usernameAllowTcpForwarding noX11Forwarding noForceCommand /usr/libexec/sftp-server -l INFO Replace username with the user name you would limit the SSH access for.

Tags: ,

Comments are closed.