File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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+
197232Users
198233-----
199234
You can’t perform that action at this time.
0 commit comments