New Script: machine.sh - ssh manager

Former-commit-id: 913416dcaa6a020b01de5fef4fd3d56ace750831
This commit is contained in:
mollusk 2018-10-29 23:19:16 -07:00
parent 70f8d8f438
commit 183bbe22b4

11
machine.sh Executable file
View 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