upload scripts of the libre server

This commit is contained in:
2023-07-17 10:41:34 +03:00
parent ec8da86abc
commit 917a3059f3
4 changed files with 15 additions and 0 deletions

4
scwipts/ssh.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
if [[ "$(ps -x |grep saret@ssh |awk '{print $9}')" != *"libre-computer:22:localhost:22"* ]]; then
ssh saret@ssh-j.com -N -R libre-computer:22:localhost:22
fi