Linux View and open ssh

Source: Internet
Author: User

First through the physical terminal into Linux, manually check SSH discovery is not running
/ETC/INIT.D/SSHD status
SSHD is stopped
Manually start the service and discover that report permissions are incorrect.
/etc/init.d/sshd start
Starting SSHD:/VAR/EMPTY/SSHD must is owned by root and not group or world-writable.
[FAILED]
Use the RPM-V command to check that the package to SSH is OK, but the owner of a directory is a master error.
Rpm-v Openssh-server
S.5 ... c/etc/ssh/sshd_config
..... U../var/empty/sshd
Check that the owner of this directory is not root, so start ssh error
Ls-ld/var/empty/sshd/
D--x--x--x 2 vu00106 Root 2 2005/var/empty/sshd/
Change to root owner, start successful
Chown root/var/empty/sshd/
/etc/init.d/sshd start
Starting sshd: [OK]
This issue is fixed.
Alternatively, you can try:
This is a question of permissions.
The following two steps can be taken to resolve
Chown-r root.root/var/empty/sshd
chmod 744/var/empty/sshd
Service sshd Restart
Can solve the above questions

Http://bbs.chinaunix.net/thread-4147109-1-1.html

Linux View and open ssh

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.