-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect SSH to device using Raspberry internet. #51
Comments
Can you ssh into the raspberry pi? |
Yes, I can ssh to Raspberry Pi without issue. |
So when you are connect to the raspberry you you can’t ssh into the 192.168.2.55 IP from the raspberry pi? |
Correct. But when I plug this device directly to router and it get IP 192.168.1.XXX I can connect from any device so SSH on this device works. SSH does not work when device is connected to Raspberry with IP 192.168.2.XXX |
Strange, I will see if I can recreate the situation and get back. In the mean time someone else might be more help. |
I would like you to open two terminals First Terminal:
Second Terminal:
The first one will open tunnel via Raspberry and will forward port 22 of The second is basically SSHing into port |
I started first terminal. There was nothing for long time. When I did it one more time I see: Second terminal shows nothing. |
The first will not output anything. For the second, it should work. Looks like I will need to simulate the setup on RPi. |
When I ran ssh -N -T -L 2222:192.168.2.85:22 [email protected] 192.168.2.85 - IP of the Ubuntu Computer I also used putty to ssh into the pi
|
@KeramxD Any update? Also after reading your post more you can change the SSh forwarding from Maybe try: |
Thanks for wifi-to-eth-route.sh! It's amazing and works.
I shared internet from Raspberry Pi to another linux device. Internet works.
My raspberry has ip 192.168.1.xxx. Another linux device has 192.168.2.55 and I cannot connect to it via SSH from my local network. If I connect this device directly to router via ethernet it works.
What should I do to connect via SSH to Linux device that uses internet from Raspberry Pi? :)
Thank you!
The text was updated successfully, but these errors were encountered: