Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Baho Utot Newsgroups: comp.os.linux.misc Subject: Re: fedora 20 disabling ssh by default Date: Thu, 09 Oct 2014 20:25:32 -0400 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Info: mx02.eternal-september.org; posting-host="36289f8929254428b33b881414c6f292"; logging-data="7002"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/luk6Q2QnUPA1FM7P+qurxSnFa4nQObD8=" User-Agent: KNode/4.14.1 Cancel-Lock: sha1:3zZbTqs+HALoGAfZ4c6Y70zQQzg= Xref: csiph.com comp.os.linux.misc:12256 Bit Twister wrote: > On Thu, 9 Oct 2014 19:23:11 -0400, Bill Cunningham wrote: >> Hi, >> >> I can't find in fedora like there seems to be in other distros a config >> file for ssh. > > It should not be hard to find, try > locate ssh | grep conf | grep etc > >> There is the sshd that constrols the service. People are trying to >> hack me. I did use this to turn it off. >> >> service sshd stop >> >> Which in turn caused systemctl to deactivate ssh(d). > > No it did not deactivate it, It did shut down the sshd service/daemon. > Next boot, sshd will be running again. > >> Not can I turn this off by default? > > Yes, "systemctl disable sshd," disables sshd from being started during > boot. > > You can still do a systemctl start sshd when you need it to run then > systemctl stop sshd when done. Can I ssh in to the box to run the above commands? ;)