My sshd_config file is empty is this correct?
By Mia Morrison •
I just finished installing Ubuntu Server 12.04.4 and was setting up ssh.
When I did $ sudo vi etc/ssh/sshd_config
I get something with no lines and the words [New Directory]
Is this the way it should be? My ssh_config file is ok. There's text in it.
Did I go wrong anywhere? How do I set this right?
12 Answers
I think the problem is a bit more simple than currently being suggested. Look at your command again:
sudo vi etc/ssh/sshd_configThere's no leading /. That means vi is trying to open <current-path>/etc/ssh/sshd_config so unless you're at /, it won't work.
The fix is to just specify the proper path:
sudo vi /etc/ssh/sshd_config 3 Yes it is absolutely normal there is nothing to do with it.. no worry..
it is basically OpenSSH SSH daemon configuration file
4More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"