0

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 ([email protected]). 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!

4
  • Which release of Ubuntu you use ? In Ubuntu Desktop 21.10 you do not need to configure anything. Commented Dec 1, 2021 at 17:31
  • 3
    Each user must have an account on the target system. For [email protected] to succeed, there must be a real account with username test on 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
    Commented Dec 1, 2021 at 17:33
  • Does this answer solve your problem? It wouldn't be quite fair to tag this as a dupe, since the causes for the problem could be many. Commented Dec 1, 2021 at 17:51
  • thank you user535733 it make sense :) Commented Dec 1, 2021 at 19:52

0

You must log in to answer this question.

Browse other questions tagged .