Added SSHconnect and bin
This commit is contained in:
parent
be078ac68c
commit
067555dd63
3 changed files with 57 additions and 0 deletions
|
@ -18,3 +18,10 @@ sslcreate() {
|
|||
openssl x509 -req -days 365 -in csr/$1.csr -signkey private/$1.key -out certs/$1.crt
|
||||
}
|
||||
|
||||
if [ $(uname -n) = "sayaka"]; then
|
||||
# SSH Connect
|
||||
sshconnect() {
|
||||
[ $1 = "web" ] && ssh megumi.eeleater.org
|
||||
[ $1 = "mail" ] && ssh mail.eeleater.org
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue