message format

This commit is contained in:
Daylin Morgan 2024-08-27 13:18:05 -05:00
parent eca60579ef
commit 5289c14095
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -15,7 +15,7 @@ proc exitSsh(name: string):int = execCmd &"ssh -O exit {name}"
proc up(port: int, host: seq[string]) =
## activate a tunnel
let name = checkHost host
echo "activating connection to", name
echo "activating connection to: ", name
if not check(name):
startSsh(name)
quit activateTunnel(name, port)
@ -23,7 +23,7 @@ proc up(port: int, host: seq[string]) =
proc down(host: seq[string]) =
## disable all tunnels
let name = checkHost host
echo "deactivating connection to", name
echo "deactivating connection to: ", name
quit exitSsh(name)
proc show() =