common: fix sed command missing file path
This commit is contained in:
parent
6ac9ef4e04
commit
54b526ede4
|
@ -30,7 +30,7 @@ sudo apt install -y \
|
||||||
|
|
||||||
|
|
||||||
# SSH
|
# SSH
|
||||||
sed -i 's/#Port 22/Port 222/'
|
sudo sed -i 's/#Port 22/Port 222/' /etc/ssh/sshd_config
|
||||||
sudo systemctl restart sshd
|
sudo systemctl restart sshd
|
||||||
|
|
||||||
ssh-keygen -t ed25519
|
ssh-keygen -t ed25519
|
||||||
|
|
Reference in a new issue