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 NewPassword | NewPassword 参数 |
返回:使用 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 Prompt | Promt 参数 |
| xstrview Language | Language 参数 |
返回:写入或严格读取服务端密码更改提示。
示例已编译验证
/* 写入或严格读取服务端密码更改提示。 */ 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();