aboutsummaryrefslogtreecommitdiff
path: root/net/sshtunnel
Commit message (Collapse)AuthorAge
* sshtunnel: update to v5.2Sergey Ponomarev2023-12-27
| | | | Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: simplify command compositionSergey Ponomarev2023-12-27
| | | | | | | | | | | | 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>
* sshtunnel: ProxyCommand optionSergey Ponomarev2023-12-27
| | | | | | | | | | The ProxyCommand may have spaces so it must be quoted. So we must use the procd_append_param. Currently the option is not supported by Dropbear. But it has -J instead which in OpenSSH means ProxyJump. So we can't use it to avoid conflict. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: update version to 5.1Sergey Ponomarev2023-10-08
| | | | | | Make it depends on ether Dropbear dbclient or OpenSSH client Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: allow empty port and userSergey Ponomarev2023-10-08
| | | | | | | | A user may have some host configured in the .ssh/config with user and port. But we anyway have to specify them in the sshtunnel. The change fixes this Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: add enabled optionSergey Ponomarev2023-10-08
| | | | Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: allow empty remoteaddressSergey Ponomarev2023-10-08
| | | | | | Just empty or * may have some semantic difference on a server Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: StrictHostKeyChecking for DropbearSergey Ponomarev2023-10-08
| | | | | | | | | | | | | | | | | The dbclient doesn't support the -o StrictHostKeyChecking but it has it's own -y option: -y Always accept remote host key if unknown -y -y Don't perform any remote host key checking (caution) So we can add these options to make the StrictHostKeyChecking working. The dbclient will ignore -o StrictHostKeyChecking but use the -y or -yy instead. The only problem is that the -y flag is also used by the openssh-client: -y Send log information using the syslog(3) system module. By default this information is sent to stderr. This is not critical and once the dbclient start to support the StrictHostKeyChecking we can remove the -y flag. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: Use -i $IdentityFile instead of -o IdentityFile=$IdentityFileSergey Ponomarev2023-10-08
| | | | | | This makes the sshtunnel compatible with Dropbear. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: set StrictHostKeyChecking=accept-new by defaultSergey Ponomarev2023-10-08
| | | | | | | | | | Without the option the ssh will propt a user to accept the host key. So a user should perform a connection manualy and accept before useing the sshtunnel. The accept-new is a reasonable trade off. Also the LogLevel is INFO by default. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: uci_sshtunnel use example.comSergey Ponomarev2023-10-08
| | | | Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* sshtunnel: uci_sshtunnel simplifySergey Ponomarev2023-10-08
| | | | | | | | 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>
* sshtunnel: fix type, case and whitespace issuesStefan Weil2023-04-15
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* sshtunnel: correct access of config fileRosen Penev2020-08-24
| | | | | | | With this change the `/etc/config/sshtunnel` file has the correct access. It's a sensible file. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* sshtunnel: init script improvementsKimmo Vuorinen2020-02-20
| | | | | | | | | | * Fix for OpenSSH pickiness about argument order to be able to use tap devices. * Allow tun/tap devices to be used from index 0 as demonstrated in example config. * Change arithmetic expressions. Signed-off-by: Kimmo Vuorinen <kimmo.vuorinen@gmail.com>
* treewide: Change .*GPL.*+ licenses to SPDX compatible identifierSven Eckelmann2019-09-10
| | | | | | | | The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL licenses. But a lot of packages did use a different, non-SPDX style with a "+" at the end instead of "-or-later". Signed-off-by: Sven Eckelmann <sven@narfation.org>
* treewide: add missing PKGARCH:=all to non-binary packagesDeng Qingfang2019-03-30
| | | | | | | Packages such as Perl, Lua, shell scripts don't generate binary files. Add PKGARCH:=all to them. Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
* sshtunnel: Update init scriptJeffery To2019-02-04
| | | | | | | | | | | 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>
* sshtunnel: switch to procdKiril Zyapkov2015-12-14
| | | | | | | | | | | This changeset removes the shell wrapper the package used previously, and uses the instance-management abilities of procd to track ssh processes. Many fixes and improvements were integrated from the package maintainer's branch at https://github.com/nunojpg/packages/tree/sshtunnel Signed-off-by: Kiril Zyapkov <kiril.zyapkov@gmail.com>
* sshtunnel: fixes validation bug with dynamic port forwarding.Nuno Goncalves2015-05-25
| | | | | | Thanks to Avi Alkalay <avi@unix.sh> Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
* sshtunnel: move to githubNuno Goncalves2014-09-16
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>