M BUZZ CRAZE NEWS
// general

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?

1

2 Answers

I think the problem is a bit more simple than currently being suggested. Look at your command again:

sudo vi etc/ssh/sshd_config

There'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

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy