3

When I attempt to login via ssh like so ssh marc_mtpt0@m3pt0.com I get this response:

/etc/ssh_config: line 51: Bad configuration option: UseDNS 
/etc/ssh_config: terminating, 1 bad configuration options lost connection

I've done this plenty in the past but it's no longer working properly. Not sure where to go from here or how to fix it. Any help is greatly appreciated. Thanks!

Marc
  • 213

2 Answers2

4

As the message says, UseDNS is not a valid option name in /etc/ssh_config. There is a server option called UseDNS; presumably you meant to put this line in /etc/sshd_config and edited the wrong file.

0

Commenting out line 51 in the ssh_config file worked.

Marc
  • 213