bs_nix/3_ssh.sh

10 lines
166 B
Bash
Raw Normal View History

#!/bin/sh
echo "Configuring SSH..."
mkdir -p ~/.ssh
2019-09-27 04:52:32 +00:00
cat ssh_pub >> ~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/config