2 sftp server setting – Vivotek S Series IZ9361-EH 1080p Outdoor Network Bullet Camera with Heater User Manual

Page 455

Advertising
background image

VIVOTEK

User's Manual - 455

© 2020 VIVOTEK INC. All Right Reserved

300


* This field is required.

Example of scanning SFTP server host key:
Request:

http://<servername>/cgi-bin/admin/sftpclient.cgi?operation=getserverhostkey&address=<ip>

Response of success:

HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <Success Message Length>\r\n
\r\n
<MD5 value>

8.40.2

SFTP Server Setting

* Only available when bit 1 of "capability_protocol_ftp_server" is 1.

Syntax:

(for control API)

http://<servername>/cgi-bin/admin/sftpserver.cgi?operation=

<value>


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://<servername>/cgi-bin/admin/sftpserver.cgi?operation=updatehostkey

Response of success:

HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <Success Message Length>\r\n
\r\n
ok

© 2020 VIVOTEK INC. All Right Reserved

301



Syntax:

(for query API)

http://<servername>/cgi-bin/admin/sftpserver.cgi?operation=

<value>


PARAMETER

VALUE

DESCRIPTION

operation gethostkey

"gethostkey":

Get host key for

SFTP server.

* This field is required.
* If “updatehostkey” is not yet
finished, you will receive error
message.

Example of get host key:
Request:

http://<servername>/cgi-bin/admin/sftpserver.cgi?operation=gethostkey

Response of success

HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <Success Message Length>\r\n
\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)

<End of document>

Advertising