Hi Vikram

> I have an existing code where an ssh connection is established using the
> following options:
> set_board_info username $username
> set_board_info netport  $host
> 
> and the proc call 'remote_open' is being invoked. This opens a shell prompt
> using the spawn: '/usr/bin/ssh -l$username $host'.

> But I wanted to create the same ssh connection but with "-Y" options
> to get the xWindow. I read some reference documents but I am not
> sure how to send that additional arguments to 'remote_open'.

As best as I can tell, you can't supply additional options (patches
welcome).  A workaround would be to write a wrapper script (perhaps
`ssh-Y') that execs ssh with -Y and $*, and get DejaGnu to use that
instead.

Cheers, Ben

Attachment: signature.asc
Description: Digital signature

_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to