Rlogin은 원격 비밀번호를 묻는 메시지를 표시합니다(Kali / Metasploitable)

Rlogin은 원격 비밀번호를 묻는 메시지를 표시합니다(Kali / Metasploitable)

여기에서 찾을 수 있는 튜토리얼을 따르고 있습니다.

http://www.kalitutorials.net/2014/05/metasploitable-2-vulnerability.html

특히 "원격 액세스 취약점 - Rlogin" 섹션을 참조하세요.

"rlogin -l root 192.168.154.132" 명령을 실행하면

아래와 같이 비밀번호 프롬프트가 나타납니다.

The authenticity of host '192.168.154.132 (192.168.154.132)' can't be established.
RSA key fingerprint is *****.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.154.132' (RSA) to the list of known hosts.
[email protected]'s password: 

튜토리얼에는 "Kali Linux에 SSH 클라이언트가 설치되어 있지 않기 때문입니다"라고 나와 있습니다.

그러나 "apt-get install rsh-client" 명령을 사용하여 클라이언트를 설치하려고 하면 다음 메시지가 나타납니다.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'openssh-client' instead of 'rsh-client'
openssh-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

모든 것이 최신 상태인지 확인하기 위해 "apt-get update && apt-get Upgrade"를 실행해 보았습니다.

또한 openssh 클라이언트를 제거하고 다시 설치해 보았습니다.

그러나 여전히 비밀번호 상자 프롬프트가 표시됩니다(튜토리얼에 따르면 수행하면 안 됨).

어떤 도움이라도 대단히 감사하겠습니다.

답변1

내 문제는 다음을 수행하여 해결되었습니다.

  1. 패키지 색인 업데이트:
    # sudo apt-get update
    
  2. rsh-client deb 패키지를 설치합니다:
    # sudo apt-get install rsh-client
    

답변2

다음 명령을 시도해 보십시오:

system ssh start

그런 다음 다음을 입력하여 활성 상태인지 확인합니다. service --status-all
SSH 옆에 이 있으면 활성 상태임을 의미합니다.a +

답변3

M2 튜토리얼에서는 도보 거리를 제공하지만 몇 가지 문제에 대한 여지를 남겨두십시오. "rlogin -l root 192.168.154.132"를 사용하려면 "루트" 사용자 비밀번호를 입력해야 합니다. 그렇죠? /etc/issue를 보고 생각해 보세요. M2에서 사용하는 사용자 이름을 생각해 보세요.

관련 정보