github解决端口22不能连接错误
报错内容:ssh: connect to host github.com port 22: Connection timed out
解决方法:
打开这个文件C:\Program Files\Git\etc\ssh\ssh_config
添加以下内容:Host github.com
User xxxxx@email.com
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443
报错内容: 出现了npm ERR! Error: EPERM: operation not permitted, open 'C:\Users\Administrator,npm-v显示bash: npm-v: command not found,
解决方法: 输入npm install hexo-deployer-git --save。