共有 5 篇文章
.ssh目录说明及密钥
2019-05-16 - 2024-09-18
SSH
SSH是Secure Shell的缩写,.ssh目录在用户根目录下
使用密钥登陆并禁用密码登录
2019-04-15 - 2024-09-18
SSH

使用密钥登陆相对于密码来说安全性要高很多

我们知道SSH登录是用的RSA非对称加密的,所以我们在SSH登录的时候就可以使用RSA密钥登录,SSH有专门创建SSH密钥的工具ssh-keygen,下面就来一睹风采。

修复sftp无法正常工作
2019-02-11 - 2024-09-18
SSH
在日常使用过程中突然sftp无法连接到服务器
开启vps服务器的ssh密码登录
2019-02-11 - 2024-09-18
SSH
由于部分服务器提供商出于安全考虑默认关闭了服务器的ssh密码登录,例如Google Cloud Platform
SSH/Git-连接远程主机错误
2019-02-10 - 2024-09-18

在git bash链接远程主机时连接失败

 1@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 2@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
 3@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 4IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
 5Someone could be eavesdropping on you right now (man-in-the-middle attack)!
 6It is also possible that a host key has just been changed.
 7The fingerprint for the RSA key sent by the remote host is
 851:82:00:1c:7e:6f:ac:ac:de:f1:53:08:1c:7d:55:68.
 9Please contact your system administrator.
10Add correct host key in /Users/isaacalves/.ssh/known_hosts to get rid of this message.
11Offending RSA key in /Users/isaacalves/.ssh/known_hosts:12
12RSA host key for 104.131.16.158 has changed and you have requested strict checking.
13Host key verification failed.

这种情况下并非是远程主机配置出现问题,而是曾经连接过一次此主机,而此次连接时缓存密钥不匹配