Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
3 answers
8k views

Is there a way to ssh using hostname alias without modifying the etc/hosts file?

I spent hours researching how I can automate 100s of hosts that are all under one local domain. (i'm on a ubuntu linux 17.04 machine) For example, I have node1.domain.org, node2.domain.org, and the ...
Harish Chennamsetty's user avatar
5 votes
2 answers
23k 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 ...
venix's user avatar
  • 51
2 votes
1 answer
4k views

Why does my hosts.deny not work on OSX 10.8? [closed]

For testing it I added these four lines to my /etc/hosts.deny file: # /etc/hosts.deny ssh-agent:ALL sshd:ALL   I waited some time and then I tried to gain ssh access to the loop-back IP address. But ...
Lenar Hoyt's user avatar
1 vote
3 answers
1k 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". It ...
Steve Bennett's user avatar
0 votes
2 answers
1k views

hosts.deny file missing

On a freeBSD server, I have a hosts.allow and a hosts.equiv, but no hosts.deny file. Does freeBSD not use the deny file? If it does, can I make the file myself or does it have to be generated by ...
Safado's user avatar
  • 4,786