diff --git a/ssh/.ssh/scalene-config b/ssh/.ssh/scalene-config index 50f8c23..450d91c 100644 --- a/ssh/.ssh/scalene-config +++ b/ssh/.ssh/scalene-config @@ -1,12 +1,12 @@ # local network -> local port -Match Host tuulikki.scalene.net exec "sudo ping -c 1 -W 1 -q 192.168.101.1" +Match Host tuulikki.scalene.net exec "nc -w 1 192.168.101.1 22" Port 22 Host tuulikki.scalene.net Port 22022 # local network -> local port -Match Host tonttu.scalene.net exec "sudo ping -c 1 -W 1 -q 192.168.101.1" +Match Host tonttu.scalene.net exec "nc -w 1 192.168.101.1 22" Port 22 Host tonttu.scalene.net @@ -16,7 +16,7 @@ Host www.scalene.net User scalene Port 22022 -Match Host git.scalene.net exec "sudo ping -c 1 -W 1 -q 192.168.101.1" +Match Host git.scalene.net exec "nc -w 1 192.168.101.1 22" Hostname tonttu.scalene.net Host *.scalene.net