Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security > ARCHIVES - Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Security Want to know if you should really apply the latest kernel patch? Want to know how to configure your firewall? Discuss any Security related topics in here!

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-Feb-2008, 04:09
thestig
Guest
 
Posts: n/a
Default

i have read that to keep your linux machine safe you must have a good root pw, never log in as root etc, but also make sure SSH is secure, how do i go about doing this? do i need to change anything, or is it ok as is? and, as default, is my machine using SSH?
  #2 (permalink)  
Old 12-Feb-2008, 06:35
FeatherMonkey
Guest
 
Posts: n/a
Default

By default ssh will be enabled for local but the firewall will be blocking anything else iirc.

But to be extra sure you can use the runlevel editor and stop ssh from starting at start up. If looking to run ssh then there's a few other steps like protocol 2, no root access, authentication by key, and deny hosts etc...

Plenty of posts about how to achieve the above if you wish to run ssh.
  #3 (permalink)  
Old 12-Feb-2008, 07:06
thestig
Guest
 
Posts: n/a
Default

Quote:
By default ssh will be enabled for local but the firewall will be blocking anything else iirc.

But to be extra sure you can use the runlevel editor and stop ssh from starting at start up. If looking to run ssh then there's a few other steps like protocol 2, no root access, authentication by key, and deny hosts etc...

Plenty of posts about how to achieve the above if you wish to run ssh.
[/b]
ok thanks, i will go into yast and diable it at run level. tho, may i ask what its for? lol. im guessing it can't be that important if you don't need to run it?
  #4 (permalink)  
Old 12-Feb-2008, 07:22
deltaflyer
Guest
 
Posts: n/a
Default

SSH = Secure SHell see here http://en.wikipedia.org/wiki/Secure_Shell

Andy
  #5 (permalink)  
Old 12-Feb-2008, 07:26
thestig
Guest
 
Posts: n/a
Default

Quote:
SSH = Secure SHell see here http://en.wikipedia.org/wiki/Secure_Shell

Andy
[/b]
Thank you! question answered hehe.
  #6 (permalink)  
Old 25-Feb-2008, 15:59
SnowCrashv5
Guest
 
Posts: n/a
Default

Quote:
Thank you! question answered hehe.
[/b]
If you run ssh, I would recommend the following:
setting up fail2ban or denyhosts.
making /etc/sshd_config pretty tight only allow certain users, force protocol 2, disable root logins
make your logins key based with a passphrase
and properly setup tcpwrappers with the /etc/host.allow and /etc/hosts.deny files.
 

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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2