Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.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: Fri, 10 Oct 2014 17:59:27 -0400 Organization: A noiseless patient Spider Lines: 36 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="6188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Tp/WgaPNH9TexqZvv4icP7oiqO8q8+gQ=" User-Agent: KNode/4.14.1 Cancel-Lock: sha1:gCDMIsGFEzozKlQ3BxTuZFJI2Is= Xref: csiph.com comp.os.linux.misc:12277 William Unruh wrote: > On 2014-10-10, Baho Utot wrote: >> 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? ;) > > Not if you have disabled ssh. Should work if I have not disabled sshd tho ;)