Re: How to get a different name than "localhost" on remote desktop
- From: Clay Calvert <ccalvert@xxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 22:29:10 -0400
On Sun, 30 Apr 2006 10:50:06 -0700, "Marc Reinig"
<Marco@xxxxxxxxxxxxxxxxx> wrote:
I use the following to connect to my remote hosts from outside the local
network, so I can use remote desktop:
ssh -L 5900X:HostName.DomainName.org:3389 MyName@xxxxxxxxxxxxxxxxxx
It works fine for simultaneous multiple hosts. However, they all show
"localhost" at the top of the remote desktop window, which can lead to
confusion. When I am logged on locally, using remote desktop, they show the
actual host name. How can I change the heading to give the host's name when
I am outside the network?
I'm not familiar with the software you are using (I use Putty), but
there are two possible options for you. One thing is to add entries
to your HOSTS file and then you can connect to the computer by 'name'.
The HOSTS file would look something like this:
127.0.0.1 LocalHost
127.0.0.2 RemoteServer
127.0.0.3 RemotePC
etc.
All of our servers end with a unique number. Another way I keep track
of what machine I'm on is to assign the local port to match that
number. So, I'll use port 44 locally when I connect to Server44. For
each server there are custom .RDP files that already have the proper
ports assigned. So, the title bar will look like 127.0.0.44:44 which
makes it clear which server we're on, to all of us that use this
technique.
Fortunately, all of the servers remotable via SSH have numbers that
match a common port such as 80 or 22.
HTH,
Clay Calvert
CCalvert@xxxxxxxxxxx
Replace "Z" with "L"
.
- Follow-Ups:
- Re: How to get a different name than "localhost" on remote desktop
- From: Clay Calvert
- Re: How to get a different name than "localhost" on remote desktop
- Prev by Date: PPP incoming connection only works about every second time
- Next by Date: Re: How to get a different name than "localhost" on remote desktop
- Previous by thread: PPP incoming connection only works about every second time
- Next by thread: Re: How to get a different name than "localhost" on remote desktop
- Index(es):
Relevant Pages
|