common: continue even with pre-existing ssh-key
This commit is contained in:
parent
94429610b1
commit
77d64c4101
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue