Hi guys. I am doing Granny in another diferent way. I sent a plink.exe binarie to machine and trying to connect remotely. The command I used is plink.exe -l root -pw -R 445:127.0.0.1:445 but I get the error “FATAL ERROR: Network error: Connection timed out”, with -v I can see is trying to connect, but never does. Any idea? I saw a video-writeup doing in this way and is perfectly possible. My /etc/ssh/sshd_config is edited to PermitRootLogin yes
Any tip would be wonderful.
Well, there are two things that you can try, first run tcpdump on you machine to see if the packets are really coming to your network, and the other try to change the destination port in the plink command, something like […] -R 4445:127.0.0.1:445
Also try a simple -ssh login to your pc in order with no port forwarding, just to debug whats happening.
Thanks for your answer, I appreciate.
Y used tcpdump and this is what I get:
13:08:27.550763 IP 10.10.10.15.1035 > 10.10.14.13.https: Flags [P.], seq 131:193, ack 122, win 63760, length 62
13:08:27.550799 IP 10.10.14.13.https > 10.10.10.15.1035: Flags [.], ack 193, win 64053, length 0
It seems no data is receiving, may am I wrong?
Also, I tried with 4445 instead of 445 but nothing.
Those 2 packets are from https service, you should try something like
tcpdump port 445 or port 22 and host 10.10.10.15 -i any -n
Also, you can check connectivity using nc.
In addition take a look at your firewall configuration, just to be sure that you are accepting incoming connections from that machine.
As I can see, my firewall is not refusing anything.