From 41635f946cbb038c29c9194390204823405b07b3 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Sat, 3 Jun 2023 12:44:19 +0300 Subject: [PATCH] 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 --- net/sshtunnel/files/uci_sshtunnel | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/net/sshtunnel/files/uci_sshtunnel b/net/sshtunnel/files/uci_sshtunnel index 87ab9eda9..e97bde15c 100644 --- a/net/sshtunnel/files/uci_sshtunnel +++ b/net/sshtunnel/files/uci_sshtunnel @@ -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