in reply to Re: Net::SSH::Perl and remote xterm
in thread Net::SSH::Perl and remote xterm

Do you just want to open a terminal so that users can execute commands on the remote machine? If so, there is no need to send the xterm over X-Windows.

You can probably just fork and exec this:

"xterm -C ssh wherever"

Note: I am not sure if the "-C" flag is what I want, anyway, "-C" means execute, and if it's not "-C" you know what I mean :)

Also note, it might be cool to fork and exec this instead:

"xterm -C yourScript.pl" where yourScript.pl is the script using the SSH module, that way you can automate whatever the ssh session might want to do on the remote box, for instance, popping up a second box with some sort of custom menu.

  • Comment on Re: Re: Net::SSH::Perl and remote xterm