dotfiles/auto/ssh/ssh.sh

6 lines
127 B
Bash
Raw Normal View History

2022-10-22 07:19:35 +00:00
#!/bin/sh
mkdir -p ~/.ssh
chmod 700 ~/.ssh
cp -i authorized_keys config ~/.ssh/
chmod 600 ~/.ssh/authorized_keys ~/.ssh/config