One Xshell login Server Flash Experience

Source: Internet
Author: User

Today development colleague response, we have a test server can not connect.

Phenomenon: Login can enter the user name, when entering the password to enter, Flash


Resolution process:

    1. Ping this server's IP to ping the

    2. Login to the vsphere Server console, because the password is more complex at the time, so into the single-user mode modified a simple to log in to view the error log

    3. View sshd service, which is running status

    4. View listening Port 22 on the monitor

    5. View firewall, shutdown status

    6. After that, still can't log in, this let me very confused

    7. And then Google, for a long time, didn't find the answer.

    8. Finally see the Xshell login interface error:/bin/bash:no such file or directory

How could you not find bash? By

Then, continue to search the online answer, finally found a parameter in the sshd_config inside: chrootdirectory/opt/sftp/%u

Feel the chance to comment out decisively. But still can't login, but the error changed: Bash:internal-sftp:command not found

。 It was strange at the time, what was the sftp? have never seen, but in the sshd_config inside has this parameter, decisively commented out:

Subsystem sftp internal-sftp

Forcecommand internal-sftp


9. Finally solve the problem, it should be the server is configured with the SFTP service caused by

This article is from the "Little v Yun Road" blog, make sure to keep this source http://victor2016.blog.51cto.com/6768693/1896577

One Xshell login Server Flash Experience

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.