mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:46:40 +00:00
Add authme shell function which I borrowed from somewhere
This commit is contained in:
@@ -25,3 +25,8 @@ alias devnullsmtp="java -jar $DOTBIN/DevNullSmtp.jar"
|
||||
alias weechat="TERM=screen-256color weechat-curses"
|
||||
alias slashdot="ab -kc 50 -t 300"
|
||||
alias digg="ab -kc 50 -t 30"
|
||||
|
||||
# appends your key to a server's authorized keys file
|
||||
function authme {
|
||||
ssh "$1" 'cat >> ~/.ssh/authorized_keys' < ~/.ssh/id_dsa.pub
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user