I’ve given my old laptop to the parents, having told them not to reinstall the system. I wanted they learn working with an open source system (linux). But a problem appeared: how to maintain the system? The only connection to the internet is a dial-up GPRS one.
Well, actually this is no more a problem. Let suppose my father establishes a connection to the internet, then connects to the well-defined server, which we both have SSH access to:
[smm@home ~] ssh -R 1234:localhost:22 koresha@koresha.org
Thus, any connection to the port 1234
will be forwarded to the home:22
. So, now it’s my turn:
[koresha@koresha.org ~] ssh -p 1234 root@localhost
And that’s it! I have the desired root console remotely.
Немає коментарів:
Дописати коментар