Skip to main content

Thread: Block SSH TO specific IP


ok, have server has 3 dedicated ip addresses. 2 of these ip addresses associated domain names (using apache), while third ip have of maintenance utilities on (eg. phpmyadmin). setup looks this:

xx.xx.xx.01-domain1.com
xx.xx.xx.02-domain2.com
xx.xx.xx.03-no public facing domain

allow ssh connections xx.xx.xx.03, while blocking attempted connections domain1.com , domain2.com

possible?

it's unclear whether mean ip number or host name in example provide. if ip number can @ directive listenaddress in /etc/ssh/sshd_config works addresses not names.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Block SSH TO specific IP


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account