diff --git a/home.admin/config.scripts/internet.sshtunnel.py b/home.admin/config.scripts/internet.sshtunnel.py index 36e820e..7f2466c 100755 --- a/home.admin/config.scripts/internet.sshtunnel.py +++ b/home.admin/config.scripts/internet.sshtunnel.py @@ -2,5 +2,10 @@ import sys -print ('Number of arguments:', len(sys.argv), 'arguments.') -print ('Argument List:', str(sys.argv)) \ No newline at end of file +if len(sys.argv) <= 1 or sys.argv[1] == "-h" or sys.argv[1] == "-help": + print("forward ports from another server to raspiblitz with reverse SSH tunnel") + print("internet.sshtunnel.py [on|off] [USER]@[SERVER] [INTERNAL-PORT]:[EXTERNAL-PORT]") + print("note that [INTERNAL-PORT]:[EXTERNAL-PORT] can one or multiple forwardings") + sys.exit(1) + +print ("TODO: implement") \ No newline at end of file