i am sorry for starting a new thread,Hu wrote:It looks to me like your question was answered, by fedeliallalinea, about 18 hours before you opened this thread: ssh ; Re: some newbie questions. If his answer is not satisfactory, you would be better off responding in that thread, so that future readers can keep straight the full exchange. What you described should have removed ssh already. Please explain what you mean by "keeps coming back." What exactly happens between when you run emerge --unmerge openssh and when you see that ssh has "come back"? What do you see that makes you say that ssh has "come back"?

For check which packages depends on openssh install gentoolkit and then run:ysbeer wrote:(i think because openssh client belongs to the base system)
Code: Select all
$ equery d openssh
Not you, but gvfs package yes (its dependency).ysbeer wrote:i am not using ssh
As already mentioned, openssh package contains both (client and server). Default openssh server is not started, for check this in openrc:ysbeer wrote:i am not familiar with ssh, i can assume this is the client and not the server? do i need to further configure it with some security options?
Code: Select all
# rc-status defaultCode: Select all
# systemctl status sshd.serviceIs it more clear, though? If, as you state above, you aren't enabling and have no plans to run an ssh server there really wasn't anything achieved by modifying the daemon config file, which only regulates connections to the server; so it's irrelevant in your case. Your ssh security is pretty much complete if you don't start the server, as others have told you several times.ysbeer wrote:i used : https://dev.gentoo.org/~swift/docs/secu ... enssh.html to secure the /etc/ssh/sshd_config
thanks for making it more clear.