I've installed kali for arm on a Raspberry Pi3. The problem is I can't remotely login.
I can ping it, but trying to ssh I keep getting "connection refused". Also checked with nmap but without success.
Maybe the ssh server doesn't start at boot? How can I check and, in case, solve it from an headless setup?
I also checked the raspberry website > For headless setup, SSH can be enabled by placing a file named 'ssh', without any extension, onto the boot partition of the SD card. Also did this but no results
Update
looking for ssh log inside /var/log/auth.log
i got this:
Jan 20 02:15:34 kali sshd[9781]: Received signal 15; terminating.
Jan 20 02:15:34 kali sshd[9832]: Server listening on 0.0.0.0 port 22.
Jan 20 02:15:34 kali sshd[9832]: Server listening on :: port 22.
Is it right to listen on 0.0.0.0
? Possible missing configuration for port 22 on iptables
?
Update 2
To connect everything together I set a static address for the Pi in order to connect to my pc and I set my pc as gateway, directly linked together with a patch (my pc has auto MDI-X adapter so I don't need X-cable). I can ping the Pi from my pc but, as stated before, i get "connection refused" error.