Re: How to get a different name than "localhost" on remote desktop

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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"
.



Relevant Pages

  • Re: IPTables rules and hosts that use DHCP
    ... authentication requests with all sorts of passwords and/or usernames. ... the rules blacklist hosts that attempt to connect more than ... my sister and I act as backup servers for each ... Do you HAVE to have your SSH server on port 22, ...
    (comp.os.linux.misc)
  • Re: IPTables rules and hosts that use DHCP
    ... password authentication requests with all sorts of passwords and/or ... the rules blacklist hosts that attempt to ... my sister and I act as backup servers for each ... Do you HAVE to have your SSH server on port 22, ...
    (comp.os.linux.misc)
  • Re: Remote desktop behind ICS?
    ... ....and using a "hosts" file to map local LAN IP addresses to host names. ... have a hosts file on each of my desktop PCs and my laptop. ... Port 443 open on the firewall. ... didn't thougt of changing remote desktop port number... ...
    (microsoft.public.windowsxp.work_remotely)
  • rdc could not connect
    ... use Remote Desktop to connect to my servers. ... I have the remote desktop web connection set up on a different box running ... I have even try telnetting to port 3389 of some of the servers and it just ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: More on Remote Desktop
    ... I still won't be opening up a port on my firewall for it, ... The Remote Desktop ... > Yes a VPN will work just fine. ...
    (microsoft.public.windowsxp.network_web)