start production updates
This commit is contained in:
parent
4b6acbd6bb
commit
09c8e02926
@ -69,6 +69,22 @@ sudo systemctl start ssh
|
|||||||
sudo systemctl status ssh
|
sudo systemctl status ssh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note**: If you get "Unit ssh.service could not be found", you need to install the SSH server first:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Install OpenSSH server
|
||||||
|
sudo apt install openssh-server
|
||||||
|
|
||||||
|
# Then start and enable SSH
|
||||||
|
sudo systemctl start ssh
|
||||||
|
sudo systemctl enable ssh
|
||||||
|
|
||||||
|
# Verify SSH is running and listening
|
||||||
|
sudo ss -tlnp | grep :22
|
||||||
|
```
|
||||||
|
|
||||||
|
You should see SSH listening on port 22.
|
||||||
|
|
||||||
### 2. Configure SSH Key Authentication
|
### 2. Configure SSH Key Authentication
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@ -1,5 +1,22 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
cat << "EOF"
|
||||||
|
██████╗██╗ ██╗ █████╗ ███╗ ██╗ ██████╗ ███████╗
|
||||||
|
██╔════╝██║ ██║██╔══██╗████╗ ██║██╔════╝ ██╔════╝
|
||||||
|
██║ ███████║███████║██╔██╗ ██║██║ ███╗█████╗
|
||||||
|
██║ ██╔══██║██╔══██║██║╚██╗██║██║ ██║██╔══╝
|
||||||
|
╚██████╗██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████╗
|
||||||
|
╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
|
||||||
|
|
||||||
|
███╗ ███╗ █████╗ ██╗ ██╗███████╗██████╗
|
||||||
|
████╗ ████║██╔══██╗██║ ██╔╝██╔════╝██╔══██╗
|
||||||
|
██╔████╔██║███████║█████╔╝ █████╗ ██████╔╝
|
||||||
|
██║╚██╔╝██║██╔══██║██╔═██╗ ██╔══╝ ██╔══██╗
|
||||||
|
██║ ╚═╝ ██║██║ ██║██║ ██╗███████╗██║ ██║
|
||||||
|
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
||||||
|
Start Production Wizard
|
||||||
|
EOF
|
||||||
|
|
||||||
echo "#############################################################"
|
echo "#############################################################"
|
||||||
echo "# "
|
echo "# "
|
||||||
echo "# Changemaker.lite Production Deployment "
|
echo "# Changemaker.lite Production Deployment "
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user