Home About GalacNet | FAQ and Help | Support Forums | UPLOAD : Images | Files |

Commercial / Business

Shared Web Hosting
Affordable Shared Hosting packages by GalacNet

Shoutcast Hosting
Quality Shoutcast hosting at the most competitive prices. Be your own DJ today

Web Hosting Partners
GalacNet's Partners in Webhosting giving you more options for your hosting needs

Dedicated Cobalt RaQ Hosting
Personal Cobalt Web Server hosting for small to medium establishments

Dedicated Server Hosting
Your choice of hardware with DirectAdmin installed

Co-Location Service
Your own server on our rack backed by Cisco infrastructure

Advertising Opportunities
Reach out to your target audience with our various advertising programs

Forum Management & Activity Forum management and activity boosting services

 
Free Services

Hello Kitty Free Web Imaging Free Webhosting Providers Free Forums Coppermine Photo Gallery Other Free Services
 
GalacNet FaQ and Help Archives

Server Administration Help - Limit SSH to a specific IP only

Do not do this if your connection is not a static one as it will lock you out from your machine and you will then need to be down with your server physsically to re-do the configuration.
This edits the hosts.deny and hosts.allow scripts and makes it only available for one specific IP to access SSH. This can be done for other services on your server as well.

First open /etc/hosts.allow
It is critical that you first place these lines in the hosts.allow file first
sshd: 111.222.333.444 : ALLOW
sshd: xxx.xxx.xxx.xxx : ALLOW
sshd: abc.xyz.123.456 : ALLOW

You can add as much allowable IPs as possible.


Next you will close SSH to all other IPs.
Open /etc/hosts.deny and insert the following
sshd: ALL :  DENY

That will lock SSH from all other IP addresses.


Caution!
Before you close your console, open a new one and make sure that you can log into your server with the specified IP before logging yourself out.


Back to FaQ Section
 
Sponsors

FREE Picture Gallery!
No Space Limit*

 
Advertisment

servers at $35, cobalt, bluequartz
P4 servers at $45/mth

 
Additional Sponsors

PayPal web hosting
Provides web hosting service. PayPal Accepted.

Web Hosting Forum
Free hosting & domain names. Free ads for hosts.

Free Image Hosting
Quality free image host. No Registration, Zodm.com.

Music Software
Music Converter, Editor, Burner, Ripper, and Player Software

Forum University
Admin and Moderator Online Community Guide and Forum.

 
Other Sponsors

A2Z Lamps
Table and Floor Lamps


Free Web Hosting
Exclusive Hosting Directory

Dollz & MySpace Graphics
Online Casino
Ventrilo Servers
Counter-Strike Servers
Business Web Hosting
Adsense websites for sale starting at $0.99
Travel Forums Travel Japan Travel Planning
Texas Electric Rate Gexa Energy
Texas Electric Company Cirro Energy
Advertise Here
phone card
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Hello Kitty Harmonyland Guide
Instant Pets!
Bury your dead Angband heroes
Advertise Here
Advertise Here
 
This page is © Galacnet, 2003 - 2006 All rights reserved.

Mortgage calculator - Jewelry - apartments Warsaw - Hôtels a berlin - Eyelet machines, metal eyelets