You possibly configured sshd with your account instead of root. ls
the file and see if you or root owns it. If it's you, use chown to switch it to root.
sudo chown root:wheel /etc/sshd_config (or some other file)
HTH
Я включил SSH на Mac (под управлением OS X 10.9).
Когда машина впервые включается, и я бегу ssh 192.168.1.2
с удаленной машины, я получаю no route to host
. Впоследствии, если бы я должен был войти в свой Mac, а затем запустить SSH на удаленной машине, я могу подключиться без проблем.
Какие-нибудь мысли?
You possibly configured sshd with your account instead of root. ls
the file and see if you or root owns it. If it's you, use chown to switch it to root.
sudo chown root:wheel /etc/sshd_config (or some other file)
HTH