From 646aa11a0c68661a78401d36307cd884617f237c Mon Sep 17 00:00:00 2001 From: Jafner <40403594+Jafner@users.noreply.github.com> Date: Thu, 18 Nov 2021 15:01:15 -0800 Subject: [PATCH] Add key import step --- dotfiles_github/setup_sshd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles_github/setup_sshd.sh b/dotfiles_github/setup_sshd.sh index 077f0df7..9813b406 100755 --- a/dotfiles_github/setup_sshd.sh +++ b/dotfiles_github/setup_sshd.sh @@ -1,5 +1,6 @@ #!/bin/bash sudo sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config +cp .ssh/* ~/.ssh/ sudo systemctl enable sshd.service -sudo systemctl start sshd.service \ No newline at end of file +sudo systemctl start sshd.service