Adding new stuff

This commit is contained in:
ViktorBarzin 2017-07-24 00:00:02 +03:00
parent ae537a5a59
commit 95c07db552
2 changed files with 5 additions and 0 deletions

View file

@ -36,3 +36,8 @@ function download_github_folder() {
alias sizeof="du -sh $1"
alias mkdir="mkdir -pv"
# Send ssh key to server
send_key() {
cat ~/.ssh/id_rsa.pub | ssh $1 "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
}