6
votes
3answers
239 views

Same IP on many systems in different environments

I work in an environment where there are multiple locations, and in each locations we have the same IP addressing scheme, that is, we have many machines (one in each location) that share the same IP ...
0
votes
2answers
706 views

Modifying /etc/hosts to easily access a domain name (or ip address) for amazon EC2 instance

I previously added into my local(Mac OS x 10.6) /etc/hosts file my server's public ip something like this: 123.123.123.123 myServer to allow me to ssh to myServer without having to remember the ip ...
-9
votes
1answer
76 views

Can you identify the hostname of machine where a webpage is hosted? [closed]

At my company, there is an internal cgi script that I regularly use. Is there any way I can identify the hostname of that machine by just the url? Unfortunately, the hostname is not within the url. ...
0
votes
3answers
156 views

Use SSH hostname aliases in browser

I set up hostname aliases in .ssh/config, which works great: Host my-web HostName 515.346.96.21 So I can do this: ssh my-web But in a browser, I still need to type in "http://515.346.96.21". ...
-1
votes
1answer
68 views

Cpanel/WHM Wrong Hostname

Hi I have made a rather nooberish fuckup and don't know how. In a file in ssh on my centos cpanel server i have changed a entry resulting in the following cpanel showing up at ...
0
votes
1answer
935 views

ssh can't connect using hostname

I'm setting up some server but I stubbled into an issue with one server. I setup a local dns server, and when I try to connect to this server with ssh alpha@alpha.stvns.com I will get : Permission ...
0
votes
1answer
785 views

SSH/Git: Specify paths with hostname instead of IP

Alright, quick question. When SSHing to a server using the IP, I can also specify a path to use, such as: git clone ssh://git@127.0.0.1:/home/git/project.git SomeProject However, when using a ...
2
votes
4answers
895 views

Where is the hostname in /etc/hostname on a debian server used?

I have a webserver running a number of websites. When I ssh in, it gives me a tab name of username@localhost.localdomain, which is counterintuitive, making it seem like those tabs are on my ...
3
votes
4answers
1k views

Can not ssh into ubuntu server using <servername>.local (on one server but not the other)

I have two servers and one seems to have configured something "out of the box" to allow "ssh servername.local" to work. I really like this and looked into it, but I don't see any difference in their ...
1
vote
5answers
3k views

Changing displayed hostname in bash prompt based on login credentials

I host several domains on one server. I would like to be able to change the displayed hostname in my bash prompt to indicate which one I picked when ssh'ing into the server. My prompt is as follows: ...