sshtunnel: uci_sshtunnel simplify
authorSergey Ponomarev <stokito@gmail.com>
Sat, 3 Jun 2023 09:44:19 +0000 (12:44 +0300)
committerNuno Goncalves <nunojpg@gmail.com>
Sun, 8 Oct 2023 09:29:37 +0000 (10:29 +0100)
Simplify comment and make it shorter.
Remove triling tab after retrydelay.
Use a full path for IdentityFile because otherwise the uci validation fails with the relative path ~/.ssh

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
net/sshtunnel/files/uci_sshtunnel

index 87ab9eda92e89f6c27eb2d1416ac18492085e48a..e97bde15c1a547142322bc7c5e8a6d434af1ba6b 100644 (file)
@@ -1,19 +1,17 @@
-#
-# Password authentication is not possible, public key authentication must be used.
-# Set "option IdentityFile" to the 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.
-#
+# Password auth is not possible so only Public Key auth must be used.
+# Set "option IdentityFile" to the file from which the identity (private key) is read.
+# By default the OpenSSH client checks for /root/.ssh/id_rsa, /root/.ssh/id_ed25519 and /root/.ssh/id_ecdsa
+# See https://openwrt.org/docs/guide-user/services/ssh/sshtunnel
 
 #config server disney
 #      option user                     mourinho
 #      option hostname                 server.disney.com
 #      option port                     22
-#      option retrydelay               1       
+#      option retrydelay               1
 #      option CheckHostIP              yes
 #      option Compression              no
 #      option CompressionLevel         6
-#      option IdentityFile             ~/.ssh/id_rsa
+#      option IdentityFile             /root/.ssh/id_rsa
 #      option LogLevel                 INFO
 #      option PKCS11Provider           /lib/pteidpkcs11.so
 #      option ServerAliveCountMax      3