GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.