LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-25-2004, 02:20 PM   #1
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
How to connect to my home computer from work?


Hi,

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?

Thank you very much in advance...
 
Old 11-25-2004, 02:29 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 58
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)
 
Old 11-26-2004, 02:09 AM   #3
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Original Poster
Rep: Reputation: 30
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.

:-/
 
Old 11-26-2004, 11:17 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't connect wifi at home, but can connect everywhere else Javi2 Suse/Novell 1 08-25-2005 06:49 PM
home built computer wilko13 Linux - Software 0 11-18-2004 12:24 AM
Connect to work box from home box slackist Linux - Networking 4 09-18-2004 05:34 AM
DHCP fine for home computer, but not work arobinson74 Linux - Networking 2 03-22-2004 07:47 AM
Using home computer for email? JMC Linux - General 5 08-01-2002 07:59 AM


All times are GMT -5. The time now is 01:21 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration