Strange questions about SSH remote Logon

Source: Internet
Author: User
For details about SSH remote logon, refer to Linux Enterprise Application-Linux server application. If you want to log on to the Server (Ubuntu Server 9.04) by using SSH in your laptop (Ubuntu Desktop 9.04), you can use password authentication to log on to the Server. However, considering that the Server is on the internet, you are worried about security issues, so I want to use the dsa authentication method? Why? Silly? The ub key is added to the server's ~ /. Ssh/authorized_keys, and then modify AuthorizedKeysFile % h/of/etc/ssh/sshd_config /. ssh/authorized_keys and PasswordAuthentication no. Then, we found a strange phenomenon. The server prompts a public key error during ssh remote logon without a user logon, remote ssh can be used to log on when a user logs on to the server. After PasswordAuthentication is changed to no, remote ssh can be used to log on to the server.
How can I access the server through remote ssh regardless of whether the server is logged on?

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.