LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 06-29-2009, 10:47 AM   #1
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
why do I need openssh?


I have never used used ssh and have always removed it from what ever distro I've had. But now Gentoo is telling me ssh is part of the base system and may break my install if removed.

Why is this part of the base system and can it be safely removed.
 
Old 06-29-2009, 10:50 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
If you can't remove it, just disable it.
 
Old 06-29-2009, 03:56 PM   #3
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
62chevy,

You can remove ssh it but portage will want to reinstall it at your next update. To keep it uninstalled, you will need add its package atom to /etc/portage/package.mask, thats net-misc/openssh

Its in system as many users log in remotely to maintain their Gentoo installs. Its certainly needed on the liveCD, as it allows remote installs, after the passwd is set and sshd started.
 
Old 06-30-2009, 07:06 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by NeddySeagoon View Post
62chevy,

You can remove ssh it but portage will want to reinstall it at your next update. To keep it uninstalled, you will need add its package atom to /etc/portage/package.mask, thats net-misc/openssh
I'd rather use /etc/portage/profile/package.provided to inject it. Then you can remove the package. I don't think anything else depends strictly in ssh because there's no library inside that package, just userland tools.

However having it installed doesn't mean you have to run it, it will just take a few mb's of hard disk space.
 
Old 06-30-2009, 11:22 PM   #5
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
Thanks everyone. If it's not run what could it hurt, then it would always be there if I needed it. Having a 60gig and 320 gig hard drive well.. I'll have to look into masking, could be other programs I dont want installed so then it would be worth --unmerging.
 
Old 07-08-2009, 11:20 AM   #6
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
Yes, I would mask it. Also check the use flags. There is probably one there you can switch off (not on my linux machine just now), so that when you "emerge -DNuva world" next time any ssh support in other packages will be removed too.

Mons
 
  


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
openssh bong.mau Linux - Software 2 11-09-2005 12:04 PM
X by openSSH Grimmy Linux - Security 2 03-16-2003 08:43 AM
OpenSSH gregoryfrancis Linux - General 4 03-02-2003 01:09 PM
openSSH? MrJoshua Linux - General 3 10-09-2002 12:17 PM
openSSH Niphargus Linux - Security 4 08-06-2002 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 11:50 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