Commit graph

6 commits

Author SHA1 Message Date
Sergey Ponomarev
28e8daf726 sshtunnel: simplify command composition
Remove append_params and use shell expressions instead e.g. ${port:+-p $port}.

Note that we can't do that with ProxyCommand because it has to be quoted.

The order of options was changed from more important like hostname to just static -nN.

The CompressionLevel option is removed from SSH2.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-27 17:31:33 +00:00
Sergey Ponomarev
2a5f9dbcc7 sshtunnel: uci_sshtunnel use example.com
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-10-08 10:29:37 +01:00
Sergey Ponomarev
41635f946c 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>
2023-10-08 10:29:37 +01:00
Stefan Weil
32af3694fc sshtunnel: fix type, case and whitespace issues
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-04-15 16:49:30 +01:00
Jeffery To
f5181d615c sshtunnel: Update init script
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.

This also fixes some validation, makes variable declarations local,
removes unnecessary curly brackets.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-04 09:17:14 +01:00
Nuno Goncalves
73392f3ff3 sshtunnel: move to github
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2014-09-16 01:37:29 +01:00