SSH config file changed format?

Fernando Gozalo fgozalo0 at alumno.uned.es
Sun Jan 28 12:37:30 UTC 2007


> 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.






More information about the fedora-list mailing list