Commit graph

9 commits

Author SHA1 Message Date
Sergey Ponomarev
255aef1748 luci-app-sshtunnel: servers: ProxyCommand option
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-28 17:46:49 +00:00
Paul Donald
23df9c2fbf Revert "luci-app-sshtunnel: servers: ProxyCommand option"
This reverts commit 24236d5e96.
2023-12-28 17:32:14 +00:00
Sergey Ponomarev
24236d5e96 luci-app-sshtunnel: servers: ProxyCommand option
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-28 15:19:18 +00:00
Sergey Ponomarev
61e166aa93 luci-app-sshtunnel: hide Save and Apply buutons for non form pages
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-27 20:24:25 +00:00
Sergey Ponomarev
059850ba0c luci-app-sshtunnel: servers: make a link to man ssh_config
Use Debian man pages because it has many versions and languages.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-27 20:24:25 +00:00
Sergey Ponomarev
8755aa3a71 luci-app-sshtunnel: extract a public key from a key if no .pub
For the Dropbear keys without a .pub we need to fall back and execute the -y command to extract a pubkey from a private.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-27 20:24:25 +00:00
Sergey Ponomarev
949e7cbcb3 luci-app-sshtunnel: ssh_keys: list keys without a corresponding .pub
The private keys doesn't have any extension so the only way to clearly say that this file is a key is a presence of the corresponding .pub file.
Most of time key files have a prefix id_ e.g. id_rsa etc.

The dropbearkey generates a key without a corresponding .pub file e.g. id_dropbearkey.

So we need to detect a key files by both .pub file or id_ prefix.
Key files without the id_ prefix won't be listed, sorry.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-27 20:24:25 +00:00
Sergey Ponomarev
3933633dd0 luci-app-sshtunnel: generate a new key
Make the Generate a new key as a separate section and move to bottom.
Extend the key name pattern to be an email address so allow symbols @ - +.
Force the id_ prefix for key names.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-27 20:24:25 +00:00
Sergey Ponomarev
7d14746ae8
New app: luci-app-sshtunnel for SSH tunnels (#6424)
* luci-app-sshtunnel: SSH tunnels

The app helps to configure SSH tunnels.
You can also generate an SSH key and see known hosts.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-04 19:27:53 +01:00