Update README.md

Add sample commands to bootstrap non-root ssh server.
This commit is contained in:
Ruslan Gainutdinov
2023-04-10 12:23:06 +03:00
committed by GitHub
parent 2146f6d0ec
commit d09cddde8d

View File

@@ -191,6 +191,11 @@ ssh:
user: app
```
If you are using non-root user, you need to *bootstrap* your server manually, before using it with mrsk. Here is some bootstrap one-liners for popular VMs:
* Amazon Linux 2: `sudo yum update -y; sudo yum install -y docker curl git; sudo usermod -a -G docker ec2-user; sudo chkconfig docker on; sudo service docker start`
* Ubuntu: `sudo apt update; sudo apt upgrade -y; sudo apt install docker curl git; sudo usermod -a -G docker ubuntu`
### Using a proxy SSH host
If you need to connect to server through a proxy host, you can use `ssh/proxy`: