Archived
1
0
Fork 0

common: continue even with pre-existing ssh-key

This commit is contained in:
Casper V. Kristensen 2022-07-26 21:47:28 +02:00
parent 94429610b1
commit 77d64c4101

View file

@ -33,7 +33,7 @@ sudo apt install -y \
sudo sed -i 's/#Port 22/Port 222/' /etc/ssh/sshd_config
sudo systemctl restart sshd
ssh-keygen -t ed25519
ssh-keygen -t ed25519 || true
ln -sr authorized_keys ~/.ssh/authorized_keys
ln -sr ssh_config ~/.ssh/config