Re: SSH config file changed format?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I tried adding these options to /etc/ssh/ssh_config:
> Protocol 2
> PermitRootLogin no
> AllowUsers myUserName
> MaxAuthTries 4
>
> However, when I try test, I get an error that these options are invalid:
> $ ssh localhost
> /etc/ssh/ssh_config: line 55: Bad configuration option: PermitRootLogin
> /etc/ssh/ssh_config: line 56: Bad configuration option: AllowUsers
> /etc/ssh/ssh_config: line 57: Bad configuration option: MaxAuthTries
> /etc/ssh/ssh_config: terminating, 3 bad configuration options
>
> These are the options that I used the last time I enabled SSH, in FC4
> I think. None of the commented-out options seem to replace these, so
> how would I go about securing SSH in FC6?
>
> Thanks in advance.

Put these options in /etc/ssh/sshd_config, not /etc/ssh/ssh_config.

Fernando.



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux