Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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

share|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. –  Odysseus 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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