Add connect(telnet,ssh,console) functions