xrtSshAuthPasswordWrite

使用 ssh-connection 服务写入普通密码认证请求。

xsshcode xrtSshAuthPasswordWrite( xsshwriter* pWriter, xstrview User, xstrview Password );
参数说明
xsshwriter* pWriter写入器
xstrview User用户名
xstrview Password密码
返回:使用 ssh-connection 服务写入普通密码认证请求。

示例已编译验证

/* 使用 ssh-connection 服务写入普通密码认证请求。 */
result = xrtSshAuthPasswordWrite(pWriter, User, Password);

xrtSshAuthPasswordChangeWrite

使用 ssh-connection 服务写入旧密码与新密码。

xsshcode xrtSshAuthPasswordChangeWrite( xsshwriter* pWriter, xstrview User, xstrview Password, xstrview NewPassword );
参数说明
xsshwriter* pWriter写入器
xstrview User用户名
xstrview Password密码
xstrview NewPasswordNewPassword 参数
返回:使用 ssh-connection 服务写入旧密码与新密码。

示例已编译验证

/* 使用 ssh-connection 服务写入旧密码与新密码。 */
result = xrtSshAuthPasswordChangeWrite(pWriter, User, Password, NewPassword);

xrtSshAuthPasswordRead

严格读取普通或更改密码的 ssh-connection 请求。

xsshcode xrtSshAuthPasswordRead( xbytesview Payload, xsshauthpassword* pPassword );
参数说明
xbytesview Payload负载
xsshauthpassword* pPassword密码
返回:严格读取普通或更改密码的 ssh-connection 请求。

示例已编译验证

/* 严格读取普通或更改密码的 ssh-connection 请求。 */
result = xrtSshAuthPasswordRead(Payload, pPassword);

xrtSshAuthPasswordPromptWrite

写入或严格读取服务端密码更改提示。

xsshcode xrtSshAuthPasswordPromptWrite( xsshwriter* pWriter, xstrview Prompt, xstrview Language );
参数说明
xsshwriter* pWriter写入器
xstrview PromptPromt 参数
xstrview LanguageLanguage 参数
返回:写入或严格读取服务端密码更改提示。

示例已编译验证

/* 写入或严格读取服务端密码更改提示。 */
result = xrtSshAuthPasswordPromptWrite(pWriter, Prompt, Language);

xrtSshAuthPasswordPromptRead

XRT_API xsshcode xrtSshAuthPasswordPromptRead( xbytesview Payload, xsshauthpasswordprompt* pPrompt );

;
返回:XRT_API xsshcode xrtSshAuthPasswordPromptRead( xbytesview Payload, xsshauthpasswordprompt* pPrompt );

示例已编译验证

/* XRT_API xsshcode xrtSshAuthPasswordPromptRead( xbytesview Payload, xsshauthpasswordprompt* pPrompt ); */
result = xrtSshAuthPasswordPromptRead();