[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remote problems using ssh

From: Doug Reiland
Subject: Re: remote problems using ssh
Date: Tue, 30 Nov 2004 12:27:07 -0500

I see the same thing with 1.4.4.

1) if I set protocol to standard, telnet is used.
2) if I set protocol to rsh, ssh is used
3) in my boards file, the hostname and/or name parameters get quickly ignored becauses I rsh.exp doesn't find netport.If I put the following in my boards file:
set_board_info netport my_system_name:23

ssh makes the connection.

4) However, since hostname is now changed in rsh.exp, it doesn't use/find my shell_prompt value in the boards file.

From: Daniel Jacobowitz <address@hidden>
To: Doug Reiland <address@hidden>
CC: address@hidden
Subject: Re: remote problems using ssh
Date: Tue, 30 Nov 2004 12:02:00 -0500

On Tue, Nov 30, 2004 at 11:57:36AM -0500, Doug Reiland wrote:
> I am using version 1.4.3 and had a time getting dejagnu to work with ssh.
> It looks like real problems with rsh.exp, but then everybody would be
> seeing this.

First of all, try 1.4.4.  Some time between 1.4.2 and 1.4.4 I made
changes to the RSH configuration.  I don't remember where.

> >From googling, it seems that I should be able to use ssh by creating a
> boards file with:
> set_board_info rsh_prog /usr/bin/ssh
> set_board_info rcp_prog /usr/bin/scp
> set_board_info shell_prompt "remote:"
> set_board_info hostname "some_remote_host"
> set_board_info username "some_user"
> Also, I set target somewhere to unix

"somewhere"?  Please provide exactly how you're invoking dejagnu.  It
sounds like you've got --target/--target_board confused.

> set_board_info protocol rsh

Should probably be using "standard".

Daniel Jacobowitz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]