SSH Login

Status
Not open for further replies.

airwolf_2015

Dabbler
Joined
Apr 7, 2016
Messages
11
Hello!

On my FreeNAS i have a user authentication over LDAP. This works fine in combination with datasets and AFP-Shares. But the problem is the user can also login over ssh.

How i can deactivate the ssh-login for users?

Best Regards
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
I imagine the easy way would be to set an AllowUsers directive in sshd_config, via Services->SSH->Extra Options. Alternatively, you could go into LDAP and set loginShell to nologin or something like that.
 
Status
Not open for further replies.
Top