in reply to Re: Net::SSH2 with pty
in thread Net::SSH2 with pty

We are not trying to xdisplay. We are trying to use sudo to run admin commands with sudo like resetting the root passwd and rebooting the remote host.