All Questions
Tagged with hosts-file ssh
5 questions
-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 ...
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 ...
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 ...
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 ...
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 ...