Skip to content

Commit 4d21b13

Browse files
committed
[airos][doc] added doc for ssh key
1 parent 2e8ec84 commit 4d21b13

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

docs/source/backends/airos.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,41 @@ For the lazy one we provide these defaults
194194
}
195195
}
196196
197+
Ssh
198+
---
199+
200+
We can specify the configuration for the ssh server on the antenna using the ``sshd`` property.
201+
202+
This snippet shows how to configure the ssh server with the default values.
203+
204+
.. code-block:: json
205+
206+
{
207+
"type": "DeviceConfiguration",
208+
"sshd": {
209+
"port": 22,
210+
"enabled": true,
211+
"password_auth": true
212+
}
213+
}
214+
215+
And this shows how to set the authorized ssh public keys
216+
217+
.. code-block:: json
218+
219+
{
220+
"type": "DeviceConfiguration",
221+
"sshd": {
222+
"keys": [
223+
{
224+
"type": "ssh-rsa",
225+
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBEEhdDJIbHVHIXQQ8dzH3pfmIbZjlrcIV+YkZM//ezQtINTUbqolCXFsETVVwbCH6d8Pi1v1lCDgILbkOOivTIKUgG8/84yI4VLCH03CAd55IG7IFZe9e6ThT4/MryH8zXKGAq5rnQSW90ashZaOEH0wNTOhkZmQ/QhduJcarevH4iZPrq5eM/ClCXzkF0I/EWN89xKRrjMB09WmuYOT48n5Es08iJxwQ1gKfjk84Fy+hwMKVtOssfBGuYMBWByJwuvW5xCH3H6eVr1GhkBRrlTy6KAkc9kfAsSpkHIyeb/jAS2hr6kAh6cxapKENHxoAdJNvMEpdU11v6PMoOtIb edoput@hypnotoad",
226+
"comment": "my shh key",
227+
"enabled": true
228+
]
229+
}
230+
}
231+
197232
Users
198233
-----
199234

0 commit comments

Comments
 (0)