LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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: 44
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: Linux Mint
Posts: 8,500

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
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: 40
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,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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: 44
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


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
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


All times are GMT -5. The time now is 11:31 PM.

Main Menu
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