Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Tryhackme上执行ssh连接时发生身份验证错误_Ssh_Connection - Fatal编程技术网

在Tryhackme上执行ssh连接时发生身份验证错误

在Tryhackme上执行ssh连接时发生身份验证错误,ssh,connection,Ssh,Connection,我一直在寻找这个问题很长时间了,但我似乎没有得到一个积极的结果,我是pentesting的新手,因此我在tryhackme上做一些任务来学习Linux的基础知识,因此当我尝试连接到ssh服务器时: ssh shiba1@10.8.150.23 The authenticity of host '10.8.150.23 (10.8.150.23)' can't be established. ECDSA key fingerprint is SHA256:5mS

我一直在寻找这个问题很长时间了,但我似乎没有得到一个积极的结果,我是pentesting的新手,因此我在tryhackme上做一些任务来学习Linux的基础知识,因此当我尝试连接到ssh服务器时:

ssh shiba1@10.8.150.23                
The authenticity of host '10.8.150.23 (10.8.150.23)' can't be  established.
ECDSA key fingerprint is 
SHA256:5mSp6dwM2HeSewbWzIVJ2GV4bRUmbrdS0ZX8qMRPjfU.
Are you sure you want to continue connecting (yes/no   /[fingerprint])? yes
Failed to add the host to the list of known hosts (/home/chota/.ssh/known_hosts).
shiba1@10.8.150.23's password: 
Permission denied, please try again.
shiba1@10.8.150.23's password: 
它给了我一个身份验证错误(即使我输入了正确的密码,这是shiba1)顺便说一句,这个问题不是重复的 任何帮助都将不胜感激
顺便说一句,您可以通过以下链接找到房间:

它给了我一个身份验证错误

在此之前,它会给您一个关于
/home/chota/.ssh/known_hosts

的问题 首先,我将检查
/home/chota/.ssh
已知主机的权限,以了解ssh进程无法修改该文件的原因

然后我可以检查身份验证错误是否仍然存在

它给了我一个身份验证错误

在此之前,它会给您一个关于
/home/chota/.ssh/known_hosts

的问题 首先,我将检查
/home/chota/.ssh
已知主机的权限,以了解ssh进程无法修改该文件的原因


然后我可以检查身份验证错误是否仍然存在。

我检查了权限并更改了.ssh目录中的ssh配置文件,但它仍然给了我相同的错误…@Justaus3r OK。您能用
~/.ssh/config
文件的内容编辑您的问题吗?我检查了权限并更改了.ssh目录中的ssh配置文件,但它仍然给我相同的错误…@Justaus3r OK。你能用
~/.ssh/config
文件的内容编辑你的问题吗?