Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I would like to connect to my home computer while I'm at work. I have a DSL connection which is shared by several computers. Could anyone give some guidelines to do this?
The easiest way would be with ssh. You will need to forward port 22 from your router to the internal IP of your home pc then you can ssh from anywhere on the net to your router's public IP (assuming that your ISP allows incomming on port 22 and your work allow outgoing port 22)
Just before leaving to the office: I configured my router and have the IP. I ran "sshd", but get:
Could not load host key: /etc/ssh/ssh_host_key
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
look at your /etc/ssh/sshd_config file (it might be in a different location though depending on the distribution you are using), and see where it looks for the key files. Then run
ssh-keygen -t dsa -f /path/from/sshd_config/to/id_dsa/file -N 'pass_phrase_to_protect_the_keys'
it will
and you can always contact ssh man page for a wealth of info you can do with ssh. Check out the wiki.linuxquestions.org for more info http://wiki.linuxquestions.org/wiki/Security
Good luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.