LinuxQuestions.org
Visit Jeremy's Blog.
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 04-18-2010, 04:11 AM   #1
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,228
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
Smile Do I need SSHd?


Hi,

I've been messing around (hey, Sunday morning, not shaved, still in wrinkles of last night, mug of steaming hot Java - eh you get the picture) with the firewall and found ssh at port 22 to be among the trusted services. These is an SSHD listening to port 22 as well...

Do I need this? I read that ssh is needed to log on remotely. I don't want THAT to happen (eek) to me! If I uncheck this, will I be able to log back in from console 0 - the keyboard.

Tnx for some Sunday morning buzz...

Thor
 
Old 04-18-2010, 04:38 AM   #2
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: Mepis; Maemo; openSUSE
Posts: 384
Blog Entries: 74

Rep: Reputation: 81
You can safely stop sshd if you don't want to access your machine remotely.
 
1 members found this post helpful.
Old 04-19-2010, 11:04 AM   #3
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,228
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Hi,

Big tnx! It felt like a (huge) security hole...so, why not plug it? I don't need to access or have accessed my machine remotely at all...

So, click, turned off and tnx!

Thor
 
Old 04-19-2010, 12:29 PM   #4
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Maybe you installed it "by accident", some (many) distributions don't install such services unless you specifically want to, because of what you said (it's a potential hole and totally unnecessary if you don't use it). A "full install" or "install everything" option might pull that in of course, and if you've done something like that, check the other services you might be running to see if there are others you don't need (httpd/apache, mail server, ...)

The client (openssh-client) is all you need if you connect to remote servers yourself; server (openssh-server) is needed if you (or somebody else) need(s) to connect to your machine remotely. On some distributions there may be a metapackage (for example called just "ssh") that pulls in both the client and server, so that's a third way to accidentally get it.
 
Old 04-19-2010, 12:34 PM   #5
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 547

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by linusr@flanders View Post
Hi,

Big tnx! It felt like a (huge) security hole...so, why not plug it? I don't need to access or have accessed my machine remotely at all...

So, click, turned off and tnx!

Thor
I wouldn't really call it a "security hole" as such the protocol is generally pretty secure. Yes, it does give an attack point to the outside world but if your passwords (and/or ssh key passphrases) are secure enough then you should be fine. But like you said, if you have no need for it, there's no point it running!
 
  


Reply

Tags
firewall, login, remote, security, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 05:59 AM
FC4-Starting sshd: Privilege separation user sshd does not exist FAILED kiranherekar Fedora 5 12-29-2005 03:22 PM
Sshd TimeBandit Linux - Software 4 06-20-2005 12:00 PM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 01:17 PM


All times are GMT -5. The time now is 05:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration