Skip to content

How to lock a user so they can only login with an ssh key? #760

Answered by Ognian
sdwilsh asked this question in Q&A
Discussion options

You must be logged in to vote

Actually I forgot about this ... I found out that this has to do with the sshd config (/etc/ssh/sshd_config) i.e.this. So actually it has to be changed i.e with sed ... but I haven't implemented this yet.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by sdwilsh
Comment options

You must be logged in to vote
1 reply
@sdwilsh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants