2 sftp server setting – Vivotek MD9584-HF3 5MP Outdoor Network Mobile Dome Camera with Night Vision, Heater & 3.6mm Lens User Manual
Page 451

VIVOTEK
User's Manual - 451
© 2022 VIVOTEK INC. All Right Reserved
320
8.40.2
SFTP Server Setting
* Only available when bit 1 of "capability_protocol_ftp_server" is 1.
Syntax:
(for control API)
http://
PARAMETER
VALUE
DESCRIPTION
operation
updatehostkey
"updatehostkey":
Re-generate host
key for SFTP server.
* It might take several seconds to
generate key, you can use
“gethostkey” after key is generated.
* This field is required.
Example of re-generate host key:
Request:
http://
Response of success:
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length:
\r\n
ok
Syntax:
(for query API)
http://
PARAMETER
VALUE
DESCRIPTION
operation
gethostkey
"gethostkey":
Get host key for
SFTP server.
* This field is required.
* If “updatehostkey” is not yet
© 2022 VIVOTEK INC. All Right Reserved
321
finished, you will receive error
message.
Example of get host key:
Request:
http://
Response of success
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length:
\r\n
MD5:a5:8a:7d:e2:2a:f8:c9:a0:ee:93:93:b8:0a:7a:18:97 (RSA)
MD5:7a:f4:07:48:e3:70:d5:89:15:36:6f:d5:25:f2:7e:0d (ED25519)