LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   why do I need openssh? (https://www.linuxquestions.org/questions/gentoo-87/why-do-i-need-openssh-736429/)

62chevy 06-29-2009 10:47 AM

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.

repo 06-29-2009 10:50 AM

If you can't remove it, just disable it.

NeddySeagoon 06-29-2009 03:56 PM

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.

i92guboj 06-30-2009 07:06 AM

Quote:

Originally Posted by NeddySeagoon (Post 3590570)
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.

62chevy 06-30-2009 11:22 PM

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.

monsm 07-08-2009 11:20 AM

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


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