O
O
Optimus2015-07-19 23:51:05
JavaScript
Optimus, 2015-07-19 23:51:05

SSH limit by IP?

In /etc/hosts.deny I set
SSHD: ALL
In /etc/hosts.allow so far I have not allowed a single host
Then I did /etc/init.d/ssh restart I
connect to SSH - it allows!
Rebooted the server, repeated an input - lets!
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2018-12-04
@Stalker_RED

window.addEventListener('load',   masonryOn768);
window.addEventListener('resize', masonryOn768);

function masonryOn768() {
    if (window.innerWidth >= 768 && elem) {
      if (!isInit) {
        msnry = new Masonry(grid, options);
        isInit = true;
      }
    } else if (isInit) {
      msnry.destroy();
      isInit = false;
    }
  }

That's better?
And it is not clear what elem is.

E
Ergil Osin, 2015-07-19
Pyan @marrk2

Write in capital letters.
Here's what you're doing wrong.
instead of
writing
And, in general, close iptables, what for to fence a kitchen garden with host.allow/host.deny?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question