Can 'topen/dev/tty: NosuchdeviceoraddressError (Linux) solution

Source: Internet
Author: User
Foreword because the previous online server has replaced the IP address, the following problems are recorded in the log when the offline server crontab pulls the backup log (ps: I Am a Singer while solving the bug at home, very refreshing): www.2cto.com note: You must check the log to find server issues...
Foreword because the previous online server has replaced the IP address, the following problems are recorded in the log when the offline server crontab pulls the backup log (ps: I Am a Singer while solving the bug at home, nice): www.2cto.com note: You must check the logs to find server problems. you cannot guess, for example, for ssh problems, you can add the-vvv parameter to troubleshoot the problem. when the online server changes the IP address and the Host key verification fails, you just need to delete the know_hosts file, but it does not solve the essential problems, therefore, it is very important to check the logs. www.2cto.com solution [html] mknod-m 644/dev/tty c 5 0 chmod o + rw/dev/tty public/private key authentication solves the above problems, it was found that it had been messed up due to unclear reasons. you cannot log on to the ssh Directory through public/private key authentication. here, record the permission settings :~ /. The permission for the ssh directory must be 0700 ~ /. Ssh/authorized_keys file permission must be 0600

Related Article

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.