🐛 ssh-keygen make rule
This commit is contained in:
parent
97d85bfff1
commit
449be6a5e8
1 changed files with 2 additions and 1 deletions
3
makefile
3
makefile
|
|
@ -71,5 +71,6 @@ setup_server_mynetwork:
|
|||
ln -s -f ~/dotfiles/.ssh/authorized_keys ~/.ssh/authorized_keys
|
||||
|
||||
setup_client_mynetwork:
|
||||
ssh-keygen -q -t rsa -b 4096 -N '' -f ~/.ssh/id_rsa_mynetwork <<<y >/dev/null 2>&1
|
||||
ssh-keygen -q -t rsa -b 4096 -f ~/.ssh/id_rsa_mynetwork -q -N ""
|
||||
cat ~/.ssh/id_rsa_mynetwork.pub >> ~/dotfiles/.ssh/authorized_keys
|
||||
echo "run\ncd ~/dotfiles && git status"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue