1
I'm currently having difficulties connecting to an embedded board from my Linux machine through ssh
. The embedded board is a FOX G20 V with a Linux OS. I've tried to connect to the board through several ports, I have followed all the solutions online regarding firewall, public/private keys and iptables configuration. Nevertheless, I always get the error message
connect to host port 22: Connection refused
This got me thinking, perhaps I need to check the ssh status on the embedded board and to check what port it's listening on. But since I can't even connect to the board to check this information out, I'm stuck. For what it's worth, I am able to ping to the board.
Does anyone therefore have a solution as to how I can check the ssh status?
1Thank you for your answer. I'm guessing you meant
sudo nmap
instead ofsudo namp
? In any case, I getcommand not found
so I think I have to install it. Knowing that I don't have an internet connection on the machine that I'm working on (this is not it), is there a way I can manually installùmap
? Thank you. – Adam – 2014-04-24T07:02:45.1801
@JohnSmith Yes, indeed I meant sudo nmap. You can download the code for nmap here, http://nmap.org/download.html, load it unto a USB drive, and bring it to the pc without an Internet connection.
– MariusMatutiae – 2014-04-24T07:13:14.317I notice even with -T1 (1 millisecond rather than 5), it takes over 65sec on my network. it is still going after 3min. any idea why? it sitll seems slow. Anyhow, that aside, a good switch is -v that very quickly displays the open ports as it runs so no need to wait for completion. – barlop – 2014-04-29T00:06:29.703
@barlop 1 millisecond per port, 65000-odd ports = 65 sec. – MariusMatutiae – 2014-04-29T05:40:31.767
@MariusMatutiae yes correct 65 thousand * 65 thousandths is 65. What I am saying is that one might expect that scanning with -T1 would take 65 seconds You seem to think so. But as I said, in my test it does not. It takes over 3min. And -T5 would be longer. Have you timed how long it takes for you to scan 65535 ports with -T1 vs -T5? You may find your assumption of 65sec in your last comment for -T1 doesn't hold up – barlop – 2014-04-29T11:48:01.763
I've tested it. Doing it with -v, it gives an ETA of remaining time, after about a minute. estimate it gives is of 14min for with -T5 24min without -T5. Faster, but not as fast as 5min for -T5 that one might expect. Then I tried it without -T5 and it said 15min. so, I couldn't get it to repeat. Test didn't determine much.but -T5 is still worth a shot. – barlop – 2014-05-05T11:09:23.193