New Script: machine.sh - ssh manager
Former-commit-id: 913416dcaa6a020b01de5fef4fd3d56ace750831
This commit is contained in:
parent
70f8d8f438
commit
183bbe22b4
11
machine.sh
Executable file
11
machine.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [ "${1}" = "emach" ];then
|
||||
ssh -p 27 glitchd@173.175.90.33
|
||||
|
||||
elif [ "${1}" = "hp" ];then
|
||||
ssh -p 22 glitchd@173.175.90.33
|
||||
else
|
||||
echo "That is not a known machine"
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user