I'm new at this: I'm trying to set up a ssh server on my personal computer with openSSH. So far, I was able to connect to my server through my computer and also from a different computer in the same network.
However, I am unable to allow access to different user. I have to put the personal computer user (Mark) in order to access it (mark@192.X.X.X). When I try with "test" it says "Permission denied".
Here are the lines I added in the sshd_config file:
PasswordAuthentication yes
AllowUsers test Mark
I did try to restart the ssh server after the changes,still not working.
Is there something I forgot to do?
Thank you very much!
test@192.X.X.Xto succeed, there must be a real account with usernameteston that system. For multiple people to login to a single account is generally a bad idea. For multiple people to share files, look at the various forms of FTP instead of SSH. – user535733 Dec 01 '21 at 17:33