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
Can';t ssh到tryhackme服务器_Ssh - Fatal编程技术网

Can';t ssh到tryhackme服务器

Can';t ssh到tryhackme服务器,ssh,Ssh,我是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:5mSp6dwM2HeSewbWzIVJ2GV4bRUmbrdS0ZX

我是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/user/.ssh/known_hosts).
shiba1@10.8.150.23's password: 
Permission denied, please try again.
shiba1@10.8.150.23's password: 
它给了我一个身份验证错误(即使我输入了正确的密码,这是shiba1)顺便说一句,这个问题不是重复的 有人知道问题出在哪里吗。
顺便说一句,您可以通过以下链接找到房间:


home/user/.ssh/known_hosts存储主机名。确保已连接到tryhackme的openvpn

2.检查网络连接是否良好


3.tryhackme中的一些空间可能需要5分钟才能启动。

您需要使用部署机器时提供的ip。然后使用ssh连接到服务器,并确保连接到tryhackme openvpn。如果您是初学者,我建议使用此错误提示:

确保您已通过下载配置连接到tryhackme openvpn文件,并使用命令:

sudo openvpn (configuration file path)
确保您已终止所有已运行的计算机,并从正在处理的文件室中单击“部署”

别忘了把瓶盖锁好。 我已经在TryHackMe上完成了那个房间,没有任何问题。因此,问题很可能来自你这边


GL

此类错误的原因有多个(可能是最后一个):

  • 锁定密码

  • permitrotlogin变量设置为“否”

  • AllowUsers未设置为otheruser

  • 您键入的密码错误,因为键盘可能会切换 . .

你能给我们看一下以下记录吗

ssh -vvv shiba1@10.8.150.23

堆栈溢出用于编程问题。你可以试着询问,或者改为询问。检查这个房间,了解如何连接到openvpn:谢谢,我使用了我的ip,而不是我正在部署的机器