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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux