ssh tunnel username with restrictions
hello guys i have jsut setup a kvm virtual machine on my server. to connect to the VM from outside of the network i use ssh tunneling. what i would liek to know is if there is any way to create a new user with jsut ssh access. i dont want people to be able to edit files in ~/ or such. jsut need the user to estabilish the connection to the server
sorry for english, hope you understand what i am looking for |
Sure, you can set up a user from the command line as so:
Code:
useradd -c "user" -s /dev/null -M |
All times are GMT -5. The time now is 06:57 AM. |