On 2/23/2016 9:20 AM, Walter Rutherford wrote:
- snip -
I'm sure I used to do this with Big Brother but at that time I'm pretty
sure ssh1 just
failed instead of returning a status so I could test for !ssh1.
Since protocols.cfg defines ssh, ssh1, and ssh2 as aliases to exactly
the same test, I expect them to return exactly the same results.
[ssh|ssh1|ssh2]
send "SSH-2.0-OpenSSH_4.1\r\n"
expect "SSH"
options banner
port 22
If you want ssh1 and ssh2 to return different results, you're going to
have to change the definition of at least one of them.
--
Do things because you should, not just because you can.
John Thurston XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska