__/ [Alessandro Boggiano] on Thursday 09 February 2006 16:39 \__
> Hello all,
> how can I use the option -e in the command line of konsole?
> I'd like to launch an ssh session in this way:
> konsole -e "ssh max@xxxxxxxxxxxx",but a I have a this error:
> "konsole is unable to open a PTY (pseudo teletype). It is likely that is
> due to an incorrect configuration of the PTY devices. Konsole needs to
> have r/w access to the PTY devices".
> If I launch from console I can see:
> "Oh oh.. can't get terminal attributes.."
> How can I do it?
Try putting "ssh max@xxxxxxxxxxxx" in a peripheral file, say ssh_me.sh , make
it executable e.g. chmod 700 ssh_me.sh , and then run:
konsole -e "ssh_me.sh"
Also to consider or test with:
xterm -e ssh_me.sh
Any luck? More debugging information perhaps?