start production updates
This commit is contained in:
@@ -69,6 +69,22 @@ sudo systemctl start 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
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user