Telnet 资产要求

    • JumpServer 通过 Telnet 协议和资产建立连接时,无法确认服务端返回的字符是否表示连接成功,所以需要配正则表达式来确认是否连接成功。
    • 需要在 Web -终端设置 中添加成功判断代码。
    • 举例:
    1. Login authentication
    2. Info: The max number or VTY users is 10, and the number
    3. of current VTY users on line is 1.
    4. <RA-L7-RD>
    • <RA-L7-RD> 写入到 Web “系统设置”-“终端设置”-“Telnet 成功正则表达式” 里面
    • RW-F1-1 正则可用 RW-.*
    • RW-1F-1|RW-2F-1|RW-3F-1|success|成功
    • <.*>|.*>|success|成功