LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-02-2006, 12:51 AM   #1
reesee
Member
 
Registered: Jan 2004
Posts: 66

Rep: Reputation: 15
Do I need ssh running?


Hello

I have only one computer, I connect to nothing, and noone connects to me. Do I need ssh running at all?

Thanks.
 
Old 01-02-2006, 12:56 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It sounds like you don't.
 
Old 01-02-2006, 01:08 AM   #3
reesee
Member
 
Registered: Jan 2004
Posts: 66

Original Poster
Rep: Reputation: 15
Good stuff. I am on Suse10 and have a the suse firewall running along with a firewall router. I am running apache, mysql but don't have the site available to the public yet. I'm not sure if having apache mysql running will have anything to do with ssh or not.
 
Old 01-02-2006, 01:19 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by reesee
I'm not sure if having apache mysql running will have anything to do with ssh or not.
Nope. You only need the SSH server running if you want to log in to your system (or let others log in) remotely.
 
Old 01-02-2006, 02:11 PM   #5
reesee
Member
 
Registered: Jan 2004
Posts: 66

Original Poster
Rep: Reputation: 15
Great, Thank-You Nylex.
 
Old 01-02-2006, 03:21 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
Since ssh is "a shell," with the possibility that anyone who can succeed in connecting to it might be able to try passwords, I would suggest that you stop sshd until and unless you are actually using it.

If and when you do, take the time to study the configuration-file and the various other man pages on this service; don't just flip-on the switch using the configuration as provided by the distro vendor without reviewing it first.

This really applies to any service/daemon:
  • Know which services you are running.
  • Know why you are running them.
  • Understand the configuration-file settings of each one.
 
Old 01-02-2006, 09:40 PM   #7
reesee
Member
 
Registered: Jan 2004
Posts: 66

Original Poster
Rep: Reputation: 15
Hello sundialsvcs

I do take some measures before I knew if i need ssh running or not, like not permitting root login, and only allowing porotocol 2. Now that I know I don't need it running I will disable it all together via system services.
 
Old 01-02-2006, 10:01 PM   #8
matthalliday
Member
 
Registered: Jan 2006
Location: Brisbane, Australia
Distribution: Suse, Mandrake, IPCop, Debian, Slackware
Posts: 34

Rep: Reputation: 15
You won't need SSH at this point in time.

Did you turn SSH on in the install? Suse by default has it disabled.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Program Through SSH windisch Linux - General 6 10-04-2005 06:10 AM
Running commands over ssh iago Programming 8 11-28-2004 12:13 PM
Running programs via ssh Nazxul Linux - Software 2 04-24-2004 03:06 PM
Running more than one app at once from SSH DaDdY SnEb Linux - General 4 11-09-2002 06:28 PM
Running X through SSH cdakin Linux - Newbie 0 04-23-2002 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration