At home I have a linux machine behind a router. How can I ssh it?
feedback
|
migrated from stackoverflow.com Nov 13 '09 at 9:32
This question came from our site for professional and enthusiast programmers.
|
You need to do two things:
| |||
feedback
|
|
You can publish one or more services using port forwarding on your router. So to publish a web server on your computer you'll probably want to forward port 80. Check about this in your router's manual. | |||
|
feedback
|
|
You need to enable port forwarding for port 22 on your router. The details can depend on router model, so, unfortunately, I cannot give more specific instructions. You can check, for example, portforward.com, it has port forwarding howtos for many router models. | |||
|
feedback
|
|
You can't (at least not without configuring your router: it needs to forward port 22 to the PC you want to SSH on) | |||
|
feedback
|
|
If you can't / don't want forward port 22 on you router, and have another machine on the Iternet, you could always do the ssh reverse tunnel: here | |||
|
feedback
|