Finn-Arne Johansen skrev:

use AllowUser(s) in /etc/ssh/sshd_config

something like
AllowUsers [EMAIL PROTECTED] nx [EMAIL PROTECTED]

Thank you Finn Arne, this seems to be what I am looking for.

However, I now have this:

AllowUsers [EMAIL PROTECTED] [EMAIL PROTECTED] nx [EMAIL PROTECTED]

It doesn't seem to work. I log in as root via ssh, and try to do ssh [EMAIL PROTECTED] I can not login. When I comment out the line above, it works again. So it would seem that [EMAIL PROTECTED] is not recognized. Is there more to add in sshd_config.


When a user logs in, it logs in as user nx, then the nxuser logs in as
the real user using ssh <[EMAIL PROTECTED]>

Which will fit our wishes perfectly if the ssh-rule above kicked in...

--
Trond Maehlum




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to