From b4444039e733acc3e20e5b85749d95dd9eae298b Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 10 Apr 2018 10:58:43 +0200 Subject: Add config file to tokssh to map a memorable name to toxid Tokssh search the hostname from commandline in ~/.tuntox/hosts to map it to a toxid and optionally to a secret. --- scripts/tokssh | 88 +++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 69 insertions(+), 19 deletions(-) (limited to 'scripts/tokssh') diff --git a/scripts/tokssh b/scripts/tokssh index 6bdb74d..53c88c1 100755 --- a/scripts/tokssh +++ b/scripts/tokssh @@ -1,37 +1,87 @@ #!/bin/bash +set -e +function help { + cat < Date: Tue, 10 Apr 2018 11:50:13 +0200 Subject: Fix typo in tokssh help --- scripts/tokssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/tokssh') diff --git a/scripts/tokssh b/scripts/tokssh index 53c88c1..eeddb21 100755 --- a/scripts/tokssh +++ b/scripts/tokssh @@ -5,7 +5,7 @@ function help { A simple wrapper to use like SSH Usage: - tokssk [ssh options] [user@]address [-s secret] + tokssh [ssh options] [user@]address [-s secret] where -- cgit v1.2.3