Add function to save ssh keys
This commit is contained in:
parent
1faf2e19f2
commit
ec743ecc38
1 changed files with 5 additions and 0 deletions
|
@ -16,4 +16,9 @@ function serve() {
|
||||||
ruby -run -e httpd . -p 3000
|
ruby -run -e httpd . -p 3000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function save-ssh-key() {
|
||||||
|
mv "$1" "$HOME/.ssh/${1}_${2}"
|
||||||
|
mv "$1.pub" "$HOME/.ssh/${1}_${2}.pub"
|
||||||
|
}
|
||||||
|
|
||||||
# vim: filetype=zsh
|
# vim: filetype=zsh
|
||||||
|
|
Loading…
Reference in a new issue