I have some users, who connect to my server through the ssh for port forwarding and ssh tunneling, but there is a problem: I cannot limit their concurrent logins, because they have no session and cannot access to any shell. In this case, PAM and Limits file, wont help.

link|improve this question
feedback

1 Answer

According to OpenSSH FAQ you could use PAM for ssh authentication.

link|improve this answer
"Use Pam" option on ssh configuration file is enabled, But It won't help cause in port forwarding mode, i disabled their access to Shell, and Pam's do nothing. – kouche Jun 8 '11 at 5:19
Do you have anything in pam configuration for ssh (/etc/pam.d/sshd)? – AlexD Jun 8 '11 at 15:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.