SSH: Add local TCP forwarding option (#1364)

* SSH: Add local TCP forwarding option

Add allow_tcp_forwarding option, to allow local port forwarding by the SSH add-on. Code lifted from the more advanced [SSH & Web Terminal](https://github.com/hassio-addons/addon-ssh) add-on.

* Bump version to 8.6.0

* SSH: Rename tcp_forwarding option

* Update ssh.sh

* Update DOCS.md

Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
This commit is contained in:
adamgreg
2020-06-03 15:32:00 +01:00
committed by GitHub
parent 79213cad3d
commit 98b234f9f7
4 changed files with 29 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Terminal & SSH",
"version": "8.5.4",
"version": "8.6.0",
"slug": "ssh",
"description": "Allow logging in remotely to Home Assistant using SSH",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/ssh",
@@ -22,11 +22,17 @@
"map": ["config:rw", "ssl:rw", "addons:rw", "share:rw", "backup:rw"],
"options": {
"authorized_keys": [],
"password": ""
"password": "",
"server": {
"tcp_forwarding": false
}
},
"schema": {
"authorized_keys": ["str"],
"password": "str"
"password": "str",
"server": {
"tcp_forwarding": "bool"
}
},
"image": "homeassistant/{arch}-addon-ssh"
}