forked from sig_core/toolkit
8 lines
183 B
Bash
Executable file
8 lines
183 B
Bash
Executable file
#!/bin/bash
|
|
r_log "telnet" "Basic telnet test"
|
|
|
|
telnet_sshd_test=$(telnet 127.0.0.1 22 << EOF
|
|
EOF
|
|
)
|
|
echo "$telnet_sshd_test" | grep -q "Escape character is '^]'"
|
|
r_checkExitStatus $?
|