I’ve been Googling on this for hours but I couldnt find a solution that worked. This is what I want to do. Setup GitHub actions so that I can built the CD into my pipeline. From my understanding, I want to do this;
Create a new user sshuser123, then allow that user to login via SSH without any passwords. However only allow that user to SSH to own folder
Here are the things that I’ve done so far,
- Generate SSH keys and update. Move the public ssh keys to
- Create new user through Webmin -> Users and Groups. I have assigned user to users group, should this change?
- Assign permissions .ssh using this link Where do I put my SSH public key for a user in a virtual server?
- I tried to login but I get the error Connection closed with status: Username/PublicKey combination invalid of server_ip
Can someone please help me out?