shortcuts for ssh_ scp_

This commit is contained in:
Jie Feng 2017-05-04 22:49:58 +08:00
parent d6e3b79491
commit 302631b576

View File

@ -242,7 +242,8 @@ case "$OSTYPE" in
esac
alias ssh_by_password='ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no'
alias ssh_copy_id_by_password='ssh-copy-id -o PreferredAuthentications=password -o PubkeyAuthentication=no'
alias sshfab="ssh -F .ssh/config"
alias ssh_="ssh -F .ssh/config"
alias scp_="scp -F .ssh/config"
alias chrome_proxy="google-chrome --proxy-server='http://127.0.0.1:8118'"
alias ls_folder_size="du -sch .[!.]* * |sort -h"
alias top_by_memory="top -o %MEM"