Restrict SSH Access for a single user

nerdzoll

Well-Known Member
Oct 4, 2004
105
0
166
Heya All,
I want to set up an account that is able to log in only to the local console and hence want to restrict the account so that it cannot be used for ssh access.

I have run:
useradd blah1
passwd blah1
<enter pass twice>

However this automatically permits SSH access. Any ideas, I was unable to find anything on the forums for this?
Cheers
Stuart