Yesterday after I re - enabled root user and rebooted the VPS, now SSH and SFTP are not running. FTP working. I can only connect this VPS via VPS provider web based console.
When I run "ssh restart" command in VPS provider console it shows "19 bad configuration option" in "ssh_config" file. But i didn't do anything like that. However that bad configuration option are similar to the default config file.
So how do i reset the ssh_config file without loosing anything? If i reinstall open SSH it will reset the ssh_config file to the default.
ssh_config
is for your ssh client. The server configuration is insshd_config
.