| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Comments:
<0> do you have 2 pcs on your internal network <1> yeah <1> ONE doze <1> one linux <0> go back to the linux pc and as root do /etc/init.d/iptables stop <1> I'm doing this all from linux <1> /etc/init.d/iptables: no such file or dir ... <0> is this fedora <1> gentoo <1> connection timed out <1> AW :( <0> so, you can ssh to localhost but you can not ssh to your network card's ip address <1> yes <0> that points to packet filtering and gentoo does that with iptables <1> no such file or dir <0> standby a sec
<0> cd /etc/init.d <0> then do ls <1> k <0> do you see iptables and ip6tables <1> No <0> ok <1> im in root now ill try again <1> still no iptables or ip6tables <0> do this <0> tail -f /var/log/messages or message.log or whatever you have it named <0> you should see your syslog <0> tell me when <1> I see it <0> ok now from your windows machine, ssh to your linux machine's ip address <0> and see if you get a hit in syslog <1> I don't have an ssh client on my winbox....Lol, i'll get one <1> I'm ssh-noob <1> ill use putty <0> ok google for and download putty <0> it is a free ssh terminal program <1> hostname or IP addy <1> this is where it ****s up <0> http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe <1> I got openssh on my linuxbox <0> good enough ssh to your 192.168.x.x address for your linux box <0> and watch syslog when you do it <1> Oh...damnit <1> I closed it -- heh <1> ill reopen <0> i think i know what it is, but this will tell us for sure <1> so ssh myuser@192.168.0.1 ? <0> yeah <1> Connection refused .... <0> syslog ? <1> still the same.. <0> ps ax | grep sshd <1> broccoli standby a sec <1> * gangster1 (gangster15@d209-89-129-87.abhsia.telus.net) has left #linux-noob <1> * atomi has quit (Ping timeout: no data for 246 seconds) <1> * pivot sets channel limit to 99 <1> * atomi (~captainPi@pool-71-104-33-213.lsanca.dsl-w.verizon.net) has joined #linux-noob <1> Wow, Sorry about that- <0> heh <1> I tried pasting my two lines from my terminal...****ing mouse scroll <0> dont paste just tell me if sshd is running <1> I can't tell <1> ssh is running though <1> /etc/init.d/sshd start <-- <0> you see something like <0> 8353 ? Ss 0:00 /usr/sbin/sshd <1> yeah <0> ok what is your favorite editor <1> I only have nano <0> use nano -w and open /etc/hosts.allow <0> add the line: SSHD:ALL <0> save and exit <0> bah <1> is hosts.allow supposed to be blank? because usually that means the file doesn't exist <0> do it in lower case <0> sshd:ALL <0> dont worry about that... just add the line, save and exit
<1> and open /etc/hosts.allow ? Could I nano -w /etc/hosts.allow <0> do this echo "sshd:ALL" >> /etc/hosts.allow <1> done - <1> I was in /etc/ too <0> ok try to ssh again <1> k <1> my router addr ? <0> no <0> internal address <1> so 192.168.0.1 <0> if that is your internal address yes <1> Connection refused <0> how many network cards do you have in your linux box <1> just one <0> do ifconfig eth0 |grep inet <1> Wow <1> i did ssh myuser@myip and my syslog changed <1> session opened for user root by blah <1> but the terminal where im sshing from is still hanging... <1> ill ifconfig now <0> verify your ip address <0> that is wht the ifconfig will do <1> i did ifconfig eth0 | grep inet and i got cmd not found <0> lol <1> true.... <0> do it as root <1> Lol right... <1> yeah sshing myuser@myip "Connection TIMED OUT" <0> and have you made any changes to /etc/ssh/sshd_config <1> no <1> ok ifconfig eth0 | grep inet <1> inet addr:192.168.0.101 Bcast: 192.168.0.255 mask 255.255.255.0 <0> i see your problem <0> do you <1> I tried ssh myuser@192.168.0.101 and I got 'the authenticity of host Blah can't be established.....rsa finger print...are you sure you want to continue connecting <1> I probably don't see it :( <1> Wow <0> myuser@192.168.0.101 <- is correct <1> it asked for a p***wd and I logged in--- <1> I just logged in and it went back to my user... <1> is that what SSH is ? Lol <0> that is what it is supposed to do <1> Really :D ? <1> Wow. thats cool... <1> I'll try it with putty from my winbox <0> i want you to read something <1> ok <0> hold one while i get the url <1> But this will definitly be difficult when I try connecting from a remote computer <1> I can't just ssh myuser@192.168.0.101 <1> ls <1> :| Sorry... <0> http://www.linux-noob.com/forums/index.php?showforum=55 <1> Thanks, i'll read it now <0> there are several ssh docs in there <1> I logged in from my winbox using putty! SICK <0> navrax: if you download and install putty on your windows machine, you will be able to ssh to 192.168.0.101 and get a shell on your linux box <0> heh yeah your ahead of me <0> now, check your port forwarding on your router and make sure you are forwarding 22 to 192.168.0.101 port 22 <2> I SHUT DOWN MY COMPUTER FROM MY WINBOX :D <2> Thanks a lot man that was AWESOME <2> znx: I shut my linuxbox down from my winbox using putty! SO happy! <0> heh ok now for lesson #2 <2> broccoli: From the net! <0> linux can run for long periods of time without being rebooted <0> or shutdown <2> True. <0> but im glad you got ssh working the way you wanted <2> Welllll.... <2> Lol, i'll try opening putty at my school tomorrow and try to open up my ip- if that fails then Damn...I'll find out how <0> if you are going to be doing a lot of work while ssh'd in, i want you to read the writeup on screen on that url i gave you <0> logan5: you can test it now <2> I added it to my favourites before I shut it down
Return to
#linux-noob or Go to some related
logs:
dban freware
#nhl nvatabus.sys missing or corrupt #beginner popup bomb script #windowsxp #windows oracle nested query slow #mirc #beginner
|
|