#1  
Old 2nd May 2008, 05:05
kadi kadi is offline
Senior Member
 
Join Date: Sep 2007
Posts: 102
Thanks: 49
Thanked 2 Times in 2 Posts
Default how to do this on centos 5.1

hellp
i read about these to add security to your system, and i have CentOS 5.1 on
one of my servers (2) but i am more familiar with debian etch files so which
files to do this changes and where to find those file :
direct login to root = off and remote login =off.
disable password authentication.
Use SSH Keys instead and change SSH to a port other than 22.
need some details how to do that with CentOS 5.1.
Thanks very much
Reply With Quote
Sponsored Links
  #2  
Old 2nd May 2008, 08:48
zcworld zcworld is offline
Senior Member
 
Join Date: Jul 2006
Location: South Australia
Posts: 329
Thanks: 2
Thanked 37 Times in 37 Posts
Send a message via MSN to zcworld Send a message via Skype™ to zcworld
 
Default

i think the changes you need to do are in the sshd.conf file
@
/etc/ssh/sshd_config.conf ( i think )
but its in /etc/ssh ....

you change them in there
and than
/etc/init.d/sshd restart
__________________
Shane Ebert :: Facebok
Reply With Quote
The Following User Says Thank You to zcworld For This Useful Post:
kadi (2nd May 2008)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
centos 5.1 .htaccess not allowed happz Installation/Configuration 8 20th July 2008 11:11
Tomcat on Centos 5.1 cybergal HOWTO-Related Questions 4 13th March 2008 11:02
Upgrade Ruby 1.8.5 --> 1.8.6 on CentOS 5.1? domino Server Operation 1 27th February 2008 06:17
Some How-To Questions For CentOS 5.1 pcburner HOWTO-Related Questions 4 27th January 2008 14:10


All times are GMT +2. The time now is 16:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.