dotfiles/auto/ssh/ssh.sh

6 lines
127 B
Bash
Executable File

#!/bin/sh
mkdir -p ~/.ssh
chmod 700 ~/.ssh
cp -i authorized_keys config ~/.ssh/
chmod 600 ~/.ssh/authorized_keys ~/.ssh/config