"Chen, Elvis" wrote: > Greetings, > > I'm a long time user of LRP. My last LRP was a > 2-disks EigerStein with ssh/sshd and it worked great. > I have decided to give Dachstein a try but ran into 2 > problems, and I seek your help. > > Here is how I got Dachstein to work with my cable > modem (Cogeco@Ontario, Canada). > I downloaded the Dachstein 1680 image from > http://leaf.sourceforge.net/devel/cstein/DiskImages/Dachstein.htm > and wrote it to a desk. Added modules for my ethernet > card, changed the host name, configured dhclient, and > it worked perfectly with my cable modem. No other > modification was needed. Dachstein is much an > improvement over EigerStein as far as step-up goes. > > I then used a 2nd disks, and copied ssh/sshd/sshkey to > it. The ssh packages are downloaded from > http://leaf.sourceforge.net/devel/jnilo > > According to the User's Guide at > http://leaf.sourceforge.net/devel/jnilo/openssh2.html, > the sshd is SUPPOSED to run through inetd. Since I > don't want to regenerate the key everytime, I > commented out the following line from > /etc/init.d/sshd: > > #Comment out and edit /etc/inetd.conf to run as a > stand alone server > #echo "Secure Shell server via inetd: sshd" > #exit 0 > > I ran makekey to generate new keys, it worked. > > However, here is my first problem: > 1) I can only ssh to my router from my local machines. > I can NOT ssh to it from my external machines. Any > ideas? With EigerStein this was not an issue. > > from my external machines, I ran > ssh <my router ip> -v > > I get: > debug: connecting to <my router ip>... > debug: entering event loop > > and it stays there forever. If I ran "dmesg" on my > router, I see: > Packet log: input DENY eth0 PROTO=6 <external machine > IP>:39141 <my router ip>:22 L=48 S=0 > x00 I=35425 F=0x4000 T=60 SYN (#40) > > so it looks like the router is blocking port 22. > However, I explicitely opened port 22 from > /etc/ssh/sshd_config: > > # $OpenBSD: sshd_config,v 1.38 2001/04/15 > 21:41:29 deraadt Exp $ > > # This sshd was compiled with > PATH=/usr/bin:/bin:/usr/sbin:/sbin > > # This is the sshd server system-wide configuration > file. See sshd(8) > # for more information. > > Port 22 > ... > > 2) weblet doesn't really work. From my internal > machine, if I try to access http://192.168.1.254 (from > Netscape), I get the error of "This page contains no > data". Is there anything I need to change to activate > it? > > thx in advance, > > Elvis >
I believe sshd is compiled to check the /etc/hosts.allow and /etc/hosts.deny files. Your /etc/hosts.allow may need an sshd line added ALL: 192.168.1.0/255.255.255.0 sshd: ip.ad.dr.ess / mask of the external network you want to give access to. Don't put this unless you really want everyone on the net to have a go at it. sshd: ALL Is weblet loading? do an "lrpkg -l " for a list of packages loaded. Thats a lower case L not a one. _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
