Setting up an SSH user to access a website

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.4
Webmin version 2.105
Virtualmin version 7.9.0
Related packages SUGGESTED

Hello… I would like to set up an SSH user to access the files on one particular website in my installation. I see where to set up an FTP user… but I can’t figure out where to set up an SSH user? Currenly the only SSH user is the root admin account

Dan Lewis

If you are sure you want to do this, I think you must give them a shell in /etc/password

At least that’s the way I remember doing it over a year ago.

Not the difference in /bin/bash, / bin/false
mit:x:1002:1001:,,,:/home/mit:/bin/bash
mit@tadmin.com:x:1001:1000:mit:/home/tadmin/homes/mit:/bin/false

You could also set this using webmin->system->users and groups. But to save doing that just make sure the interactive terminal privs have been given to the user and they have a terminal from within webmin/virtualmin interface without needing ssh log in

1 Like

Can you just not edit the user login type and assign ssh permissions?

Update

As mentioned, this only works for the account owner

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.