luci-app-sshtunnel: generate a new key
authorSergey Ponomarev <stokito@gmail.com>
Sun, 17 Dec 2023 10:55:29 +0000 (12:55 +0200)
committerPaul Donald <newtwen@gmail.com>
Wed, 27 Dec 2023 20:28:58 +0000 (20:28 +0000)
commit49c5091847577416bbbb6cfd0840aef96d59c837
tree1be84f62c6ea50586abf0edf2c3ffb7d24a8a8a6
parent4a451e39e05e3875f10ad62b369fb3c3e6d2b0c3
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>
(cherry picked from commit 3933633dd0de84b1c13af5d8f62b6b2431bf1ca7)
applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_keys.js