From: Ela on
Since one week has passed and I guess my question is hidden by other
messages, I post this again to seek your help.

I am using SSH to connect a machine with fixed IP, say, 133.144.155.66,
133.144.155.67, 133.144.155.68, ...

When I fork more child windows in SSH, I can only see 133.144.... As you
will discover, all the 3 machines start with 133.144 and there is no
resolution at all. I would like to assign each machine a specific name so I
can quickly identify which
window I should focus on.

Thanks a lot



From: Andreas F. Borchert on
On 2008-04-08, Ela <ela(a)yantai.org> wrote:
> Since one week has passed and I guess my question is hidden by other
> messages, I post this again to seek your help.
>
> I am using SSH to connect a machine with fixed IP, say, 133.144.155.66,
> 133.144.155.67, 133.144.155.68, ...
>
> When I fork more child windows in SSH, [...]

Forking off child windows in SSH ... this does not sound as if you
are using a Solaris desktop environment. But you have posted your
question to comp.unix.solaris, a group dedicated to the Solaris
operating system.

Under Solaris, you would have no problem of getting three windows
with different headings:

for ip in 133.144.155.66 133.144.155.67 133.144.155.68
do
xterm -T "ssh $ip" -e /bin/sh -c "exec ssh $ip" &
done

Andreas.
From: Tim Bradshaw on
On Apr 8, 9:19 am, "Ela" <e...(a)yantai.org> wrote:

>
> When I fork more child windows in SSH, I can only see 133.144.... As you
> will discover, all the 3 machines start with 133.144 and there is no
> resolution at all. I would like to assign each machine a specific name so I
> can quickly identify which
> window I should focus on.

You need a name service. Have a look at, for instance
http://docs.sun.com/app/docs/doc/816-4556, for information on the
naming services available and how to configure them in Solaris.
From: Oscar del Rio on
Ela wrote:
> When I fork more child windows in SSH, I can only see 133.144....

where exactly do you see those numbers? In the window frame?
In the shell prompt? In other commands?

Does "uname -n" show a name or an IP?

If you don't want to use IP addresses and do not have a name service
like DNS, just add the IPs and names to your "hosts" file: /etc/hosts
in Unix, or \SOMEWHE~E\HOSTS.TXT in Windows (but this is not the
group to discuss how to configure Windows) :P