mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 08:26:42 +00:00
Update authme alias to use my new ssh key
This commit is contained in:
@@ -43,7 +43,7 @@ function myip {
|
|||||||
# appends your key to a server's authorized keys file
|
# appends your key to a server's authorized keys file
|
||||||
function authme {
|
function authme {
|
||||||
ssh "$1" 'mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys' \
|
ssh "$1" 'mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys' \
|
||||||
< ~/.ssh/id_dsa.pub
|
< ~/.ssh/id_rsa.pub
|
||||||
}
|
}
|
||||||
|
|
||||||
# Make and cd into directory
|
# Make and cd into directory
|
||||||
|
|||||||
Reference in New Issue
Block a user