Thursday, June 18, 2009

(SSH) Error: Starting OpenBSD Secure Shell server: sshd/var/run/sshd must be owned by root and not group or world-writable.

SSH not working on Linux VPS - Network time out or connection refused.

/etc/init.d/ssh start
Error:
Starting OpenBSD Secure Shell server: sshd/var/run/sshd must be owned by root and not group or world-writable.

Permissions have been modified for folder /var/run/sshd hence SSH is not working

Resolution

rm -rf /var/run/sshd/

invoke-rc.d ssh restart

No comments:

Post a Comment