Tag Archives: FAQ

Putty encountered an error when logging into alicloud CentOS: dis connected:No supported authentication methods available

The problem is caused by SSH links that do not allow remote password authentication
Enter the system through the administrative console, check whether the following configuration
PasswordAuthentication no
is included in the /etc/sshd_config file. Change this parameter to yes through the vim editor, as follows:
PasswordAuthentication yes
save, and then restart SSH service
service SSHD restart

brew link sip error

Problems with BREW installing SIP:

$ brew install sip
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/sip.h
/usr/local/include is not writable.

You can try again using:
  brew link sip

$ brew link sip
Linking /usr/local/Cellar/sip/4.19.5... 
Error: Could not symlink include/sip.h
/usr/local/include is not writable.

Find /usr/local/ there is no path /usr/local/include
need to create this path and modify the permissions
Solution:

$ sudo mkdir /usr/local/include
$ sudo chown $(whoami):admin /usr/local/include

Success:

$ brew link sip
Linking /usr/local/Cellar/sip/4.19.5... 10 symlinks created