Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- allowing only one IP to ssh in
March 5, 2006, 6:11 pm
rate this thread
I'm short of time to look this up, hope someone has a quick answer:
I need to configure my linux box so that only a given IP (another box I
a different location) can ssh and scp into my box.
I understand I just have to add a couple of lines in hosts.allow and
Correct? what's the syntax?
thanks a lot.
Re: allowing only one IP to ssh in
I would add a firewall rule for your ip for services needed.
Have you tried
In hosts.deny I would have
In all cases be sure to add a carriage return after the last line you
And oh, by the way.
--------- standard search tip follows ---------------------
Please bookmark the following, very large,
Frequently Asked Questions (faq) Search engine:
key word(s) in the first box
*linux* in Newsgroup box. You need to use the two
asterisks around linux, pick English
If you want/need more control over the first box search,
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum