do not install authorized_keys by default

This commit is contained in:
Karol Wypchlo 2021-01-29 23:26:41 +01:00
parent 2c1ccd0557
commit 75b2eeb9ae
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ source /home/user/.bashrc
# Add SSH keys and set SSH configs # Add SSH keys and set SSH configs
sudo cp /home/user/skynet-webportal/setup-scripts/support/ssh_config /etc/ssh/ssh_config sudo cp /home/user/skynet-webportal/setup-scripts/support/ssh_config /etc/ssh/ssh_config
mkdir -p /home/user/.ssh mkdir -p /home/user/.ssh
cat /home/user/skynet-webportal/setup-scripts/support/authorized_keys >> /home/user/.ssh/authorized_keys # cat /home/user/skynet-webportal/setup-scripts/support/authorized_keys >> /home/user/.ssh/authorized_keys
# Install apt packages # Install apt packages
sudo apt-get update sudo apt-get update