Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> SSH in Linux Enterprise, Enable for internal/disable for external
Norlela
post Jan 24 2006, 03:02 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 24-January 06
Member No.: 6,000



Hi,

I have a web server which is installed with Linux Enterprise. I want to know how to enable SSH for internal users and disable SSH for external/outsiders.

Please assist.


Thanks & regards
Go to the top of the page
 
+Quote Post
michaelk
post Jan 24 2006, 05:21 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Is this webserver directly connected to the internet or do you have a router firewall?
If directly connected to the internet then your firewall should be configured to drop traffic on the interface it is connected to. It is also a good idea to change the port that SSH runs on to something besides 22.
Go to the top of the page
 
+Quote Post
Norlela
post Jan 24 2006, 10:12 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 24-January 06
Member No.: 6,000



My webserver is directly connected to the internet and i used port no. 22.

I've configured hosts.allow file to enable the internal SSH, but it does not work.

Please assist.

Thanks & regards
Go to the top of the page
 
+Quote Post
michaelk
post Jan 25 2006, 06:32 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Modify the /etc/ssh/sshd_config file to limit users. Example:
AllowUsers user1 user2
Be sure to disable root login.
PermitRootLogin no

Modify the firewall to drop everything on the incoming connection and only allow specific traffic.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 04:53 AM