added sudo command for telnet and ssh