Click to See Complete Forum and Search --> : RedHat7.1 +Win2k + SSH = help?


bjork
09-21-2001, 01:57 PM
hey y'all,

basic scenario:

i have a linux box at home behind a router (netopia 9100u), and a win2000 box on my desk at work.

i'd like to tunnel securely into my linux box (using openssh on win2k) in order to better "fritter my hours away" during the daytime.

i know SSH is the solution, and i have it (sorta) working now... i can ssh to my linux box from another box at my house (which is also behind the router), but not from work (yet..!).

i'm curious about the whole "public key" thing, here's what i seem to be getting from the webpages i'm reading:

once i have the sshd running on my linux box ("LB" from now on), i need to install openssh on my w2k and run "ssh-keygen" which will generate a public key on my w2k box. i need to migrate that key to my LB so when W2K comes knocking it checks its records and sees the W2K key and is like "okay, i have you on file, come on in..."

so i've got the W2k key, but where exactly do i put it on my LB? when i connect from my other w2k box at home (again, behind the router... on the same subnet as the LB) it just lets it in no problem... do ineed to specify a

hosts allow = (my work's IP addy)

or something in a sshd_conf file somewhere?

if someone could just LAY IT OUT for me... (do this, then this, then this) i would be eternally grateful!

as it is now, i'm "pc-anywhere"ing to my win2k box, then sshing from there to my linux box... there ahs to be an easier (less bandwidth intensive) way...

thanks all......