Browse Source

help text

sshtunnel
Christian Rotzoll 6 years ago
parent
commit
2a0dac32bf
  1. 9
      home.admin/config.scripts/internet.sshtunnel.py

9
home.admin/config.scripts/internet.sshtunnel.py

@ -2,5 +2,10 @@
import sys import sys
print ('Number of arguments:', len(sys.argv), 'arguments.') if len(sys.argv) <= 1 or sys.argv[1] == "-h" or sys.argv[1] == "-help":
print ('Argument List:', str(sys.argv)) 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")
Loading…
Cancel
Save