Added alias for ssh-copy-id

This commit is contained in:
2021-04-28 19:05:56 +02:00
parent 4bd77d3bf0
commit 6c14ebfa62

View File

@@ -14,6 +14,7 @@ alias h='history'
alias top='htop' alias top='htop'
alias space='du -a /dir/ | sort -n -r | head -n 20' alias space='du -a /dir/ | sort -n -r | head -n 20'
alias tree="tree -C -a" alias tree="tree -C -a"
alias genkey="ssh-keygen -t rsa -b 4096"
alias mkdir="mkdir -p" alias mkdir="mkdir -p"
alias youtubemp3="youtube-dl -f bestaudio --extract-audio --audio-format mp3 --audio-quality 5" alias youtubemp3="youtube-dl -f bestaudio --extract-audio --audio-format mp3 --audio-quality 5"
alias mergemp3="for d in ./*/ ; do (cd "$d" && mp3wrap ALL.mp3 *.mp3); done " alias mergemp3="for d in ./*/ ; do (cd "$d" && mp3wrap ALL.mp3 *.mp3); done "
@@ -22,3 +23,7 @@ if [ "$(uname)" = "Darwin" ]; then
else else
alias ls='ls --color=auto' alias ls='ls --color=auto'
fi fi
## Aliases with parameters
keycopy(){
ssh-copy-id -i /root/.ssh/id_rsa root@$1
}