LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   SSH Configuration - Looking for a thorough "how to" (https://www.linuxquestions.org/questions/linux-security-4/ssh-configuration-looking-for-a-thorough-how-to-4175666253/)

pizzelle 12-19-2019 03:16 PM

SSH Configuration - Looking for a thorough "how to"
 
Hello all,

I'm sort of knowledgeable about linux, but this one stumps me. The root issue is I have recently installed Kali on the Raspberry Pi ( I have no other independent platforms that are wireless), and even though the distro site says "Just ssh into the target" like it's the easiest thing in the world, I have found that I cannot ssh into the device from a remote host.

I can ssh to localhost, and the ssh service is running. ifconfig shows available connections and IP addresses for wireless and eth0. However, if I run a utility like PuTTy from an external machine, it fails to connect as if the device didn't exist. No error, just a simple timeout. Ping from external host can't find the device either.

Is there a checklist of how to configure ssh so that I can access the device? I can't tell if the fault is in the ssh setup or if it's a Kali security feature that blocks incoming connections.

Thanks!

berndbausch 12-19-2019 04:04 PM

My first thought: If you can't solve this, Kali is not for you. Having said that, it looks like port 22 is blocked on your Kali installation.

Where do you see "just ssh into the target?" I would think that target is not Kali, but a system that the penetration tester is looking into.

EDIT: What do you mean by "ifconfig shows available connections"?

scasey 12-19-2019 06:49 PM

+1 to the "why are you using Kali?" question. Have you read this sticky?

It's my understanding that networking is disabled by default on Kali. If there's no networking enabled on the target 'puter, ssh-ing to it won't work.


All times are GMT -5. The time now is 10:48 PM.