sshtunnel: uci_sshtunnel simplify

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>
This commit is contained in:
Sergey Ponomarev 2023-06-03 12:44:19 +03:00 committed by Nuno Goncalves
parent 7c8f4a2a1c
commit 41635f946c

View file

@ -1,19 +1,17 @@
# # Password auth is not possible so only Public Key auth must be used.
# Password authentication is not possible, public key authentication must be used. # Set "option IdentityFile" to the file from which the identity (private key) is read.
# Set "option IdentityFile" to the file from which the identity (private key) for RSA or DSA authentication is read. # By default the OpenSSH client checks for /root/.ssh/id_rsa, /root/.ssh/id_ed25519 and /root/.ssh/id_ecdsa
# The default is ~/.ssh/identity for protocol version 1, and ~/.ssh/id_rsa and ~/.ssh/id_dsa for protocol version 2. # See https://openwrt.org/docs/guide-user/services/ssh/sshtunnel
# ssh will also try to load certificate information from the filename obtained by appending -cert.pub to identity filenames.
#
#config server disney #config server disney
# option user mourinho # option user mourinho
# option hostname server.disney.com # option hostname server.disney.com
# option port 22 # option port 22
# option retrydelay 1 # option retrydelay 1
# option CheckHostIP yes # option CheckHostIP yes
# option Compression no # option Compression no
# option CompressionLevel 6 # option CompressionLevel 6
# option IdentityFile ~/.ssh/id_rsa # option IdentityFile /root/.ssh/id_rsa
# option LogLevel INFO # option LogLevel INFO
# option PKCS11Provider /lib/pteidpkcs11.so # option PKCS11Provider /lib/pteidpkcs11.so
# option ServerAliveCountMax 3 # option ServerAliveCountMax 3