Answer the question
In order to leave comments, you need to log in
How to set a password for ssh other than local?
I want to use one password to log in from the computer itself, and remotely (using the same user) use a more complex password.
I don't want to create a separate user for this
Answer the question
In order to leave comments, you need to log in
1. You can tweak it on your knee by creating two users with the same UID / GID
, edit /etc/passwd
testuser:x:1003:1003:,,,:/home/testuser:/bin/bash
testuser1:x:1003:1003:,,,:/home/testuser:/bin/bash
No way.
Or create a user.
Or connect remotely not with a password, but with a key (+ a password for the key if desired).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question