fix ssh and telnet variable