derpcheck-ssh: deprecated
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
# server-toolset
|
|
||||||
|
|
||||||
## derpcheck-ssh
|
|
||||||
|
|
||||||
See connection details while SSH'ing to a remote with Tailscale.
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
function ssh --wraps ssh
|
|
||||||
if test (count $argv) -eq 1
|
|
||||||
set -l target_host $argv[1]
|
|
||||||
set -l ts_status (tailscale status | grep -i -- "$target_host")
|
|
||||||
if test -n "$ts_status"
|
|
||||||
echo "$ts_status"
|
|
||||||
echo ""
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
command ssh $argv
|
|
||||||
end
|
|
||||||
Reference in New Issue
Block a user