openpts -i 10.3.12.69相当于在 目标上执行一次ptsc -m,会在家目录下创建.openpts的隐藏目录,里面会有很长字符串的文件,说明ptsc -m创建成功。
目前问题:
1、secadm用户没有ptcs_lock文件的权限,因为ptsc属组里面没有secadm用户,执行ptsc -m失败,命令一闪就过去了,没有执行成功。
2、放开ptsc_lock文件的权限后,
openpts -u 10.3.12.69
Authorized users only. All activities may be monitored and reported.
root@10.3.12.69's password:
Total bytes of session is 6264, saddr=10.3.12.69, sport=22
integrity: valid
Please input your target username:
secadm
Authorized users only. All activities may be monitored and reported.
secadm@10.3.12.69's password:
Authorized users only. All activities may be monitored and reported.
secadm@10.3.12.69's password:
————————输完密码之后报错
Total bytes of session is 4772, saddr=10.3.12.69, sport=22
integrity: unknown (INTERNAL ERROR) rc=58
Connection to 10.3.12.69 closed.
Total bytes of session is 5256, saddr=10.3.12.69, sport=22
————————