From 7181f1ee6983b5ded0f3d31d36bac4993943ef0d Mon Sep 17 00:00:00 2001 From: "kebler.net" Date: Sat, 20 Nov 2021 21:38:37 -0800 Subject: [PATCH] 312 added hass ssh --- sj312.net/function/ssh-mounts/312 | 8 ++++++++ sj312.net/ssh/config/312.cfg | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/sj312.net/function/ssh-mounts/312 b/sj312.net/function/ssh-mounts/312 index 7f9cdf8..ca874cc 100755 --- a/sj312.net/function/ssh-mounts/312 +++ b/sj312.net/function/ssh-mounts/312 @@ -33,3 +33,11 @@ function umnt312tv() { usmount /mnt/312/tv/etc usmount /mnt/312/tv/sysadmin } + +function mnt312hass() { + smount root@hass.sj312.net:/ /mnt/312/hass -p 22 -o allow_other +} + +function umnt312hass() { + usmount /mnt/312/hass +} \ No newline at end of file diff --git a/sj312.net/ssh/config/312.cfg b/sj312.net/ssh/config/312.cfg index bb0d718..7a15cbd 100755 --- a/sj312.net/ssh/config/312.cfg +++ b/sj312.net/ssh/config/312.cfg @@ -34,4 +34,9 @@ Host 312hass user root hostname hass.sj312.net port 22222 - + +Host 312ha + user root + hostname hass.sj312.net + port 22 +