ssh_id_ekle
This commit is contained in:
parent
04112af61e
commit
e16b3ed6f8
1 changed files with 2 additions and 0 deletions
2
bin/ssh_id_ekle.sh
Executable file
2
bin/ssh_id_ekle.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
[ $1 ] && cat ~/.ssh/id_rsa.pub | ssh $1 "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys"
|
Loading…
Add table
Reference in a new issue