[packages] sshtunnel: update to version 2
[openwrt/svn-archive/archive.git] / net / sshtunnel / files / etc / config / sshtunnel
index acfd9420feabb2d840c4ebe1f1169fd229082930..ce3af0f92944a363e566972776090a49e2f980a8 100644 (file)
@@ -1,30 +1,44 @@
 #
-# only authentication supported is public key with indentity file specified
+# password authentication is not possible, publick key authentication must be used.
+# set "option IdentityFile" to he file from which the identity (private key) for RSA or DSA authentication is read.  
+# The default is ~/.ssh/identity for protocol version 1, and ~/.ssh/id_rsa and ~/.ssh/id_dsa for protocol version 2.
+# ssh will also try to load certificate information from the filename obtained by appending -cert.pub to identity filenames.
 # pkcs11 support soon
 #
 
+config server disney
+       option user                     mourinho
+       option hostname                 server.disney.com
+#      option port                     22
+#      option retrydelay               1       
+#      option CheckHostIP              yes
+#      option Compression              no
+#      option CompressionLevel         6
+#      option IdentityFile             ~/.ssh/id_rsa
+#      option LogLevel                 INFO
+#      option ServerAliveCountMax      3
+#      option ServerAliveInterval      0
+#      option StrictHostKeyChecking    ask
+#      option TCPKeepAlive             yes
+#      option VerifyHostKeyDNS         yes
+
+
 # tunnelR(emote) - when the connection will be initiated to the R(emote) endpoint at
 # remoteaddress:remoteport and then forward to localaddress:localport
 #
 config tunnelR http
-       option user             mourinho
-       option hostname         server.disney.com
-       option identity         /root/.ssh/id_rsa
+       option server           disney
        option remoteaddress    *
        option remoteport       9009
        option localaddress     192.168.1.13
        option localport        80
-       option options          '-o ServerAliveCountMax=3 -o ServerAliveInterval=20 -o StrictHostKeyChecking=false'
 
 # tunnelL(ocal) - when the connection will be initiated to the L(ocal) endpoint at
 # localaddress:localport and then forward to remoteaddress:remoteport 
 #
 config tunnelL test
-       option user             mourinho
-       option hostname         server.disney.com
-       option identity         /root/.ssh/id_rsa
+       option server           disney
        option localaddress     *
        option localport        1022
        option remoteaddress    secretserver.disney.com
        option remoteport       22
-       option options          '-o ServerAliveCountMax=3 -o ServerAliveInterval=20 -o StrictHostKeyChecking=false'