You are not logged in.
I'm using scponly and have chrooted a user to his home directory. I noticed however that I can ssh into the box enabling port forwarding which is a dangerous security breach in my opinion. I'd like to have the ability keep port forwarding for other users, but for the scponly user, I'd like to disallow ssh port forwarding. Anyone know how?
$ ssh nightshade -P 8081
username@nightshade's password:
Welcome to nightshadeLast edited by graysky (2009-09-25 19:08:26)
Offline
Turns out this can be accomplished by the addition of two new lines to the sshd_config:
Match user USERNAME
AllowTcpForwarding noOffline