=== jimmah is now known as pak33m | ||
=== kermiac_ is now known as kermiac | ||
=== duanedes1gn is now known as duanedesign | ||
starspot | how do I set up an ssh tunnel so I can connect to this home Ubuntu machine from a remote location? | 17:52 |
---|---|---|
mhall119|work | starspot: is it behind a firewall/ | 17:53 |
mhall119|work | ? | 17:53 |
starspot | mhall119|work, no. just a comcast modem and a linksys router | 17:57 |
mhall119|work | is the linksys doing NAT? | 17:58 |
starspot | I don't know - what is NAT? | 18:02 |
mhall119|work | it's where inside your network, you have IP addresses like 192.168.x.x | 18:03 |
mhall119|work | but on the outside, the router has a public IP address | 18:03 |
mhall119|work | which makes it hard to access your internal computers from the outside internet | 18:04 |
starspot | yes I do have 192.168.1.100 ...1.200 etc | 18:07 |
mhall119|work | then you're using NAT | 18:07 |
mhall119|work | which means you can't connect directly to your home machine from a remote location | 18:07 |
starspot | what if I remove the router? | 18:08 |
mhall119|work | there's better ways | 18:08 |
mhall119|work | one second, let me find you a tutorial | 18:09 |
mhall119|work | http://www.howtoforge.com/reverse-ssh-tunneling | 18:09 |
starspot | thanks man! | 18:09 |
mhall119|work | np | 18:11 |
starspot | hey mhall119|work : that tutorial's pretty complex. if the problem is NAT and it's in my Linksys, couldn't I just remove the router and then tunnel more easily directly to my IP? | 18:35 |
starspot | or anybody else? | 18:37 |
starspot | If I connect directly to a cable modem will SSH Tunneling work so I can access this machine remotely? | 18:38 |
mhall119|work | starspot: the NAT is useful and offers some level of protection to you, so I wouldn't recommend removing it | 19:03 |
mhall119|work | another options is to setup port forwarding on your router, so that incoming connections to port 22 are sent to the Ubuntu machine you want to connect to | 19:04 |
=== hello is now known as Guest2126 | ||
starspot | I already got around the NAT issue. I'm ssh'd in to my box now, with the router | 19:55 |
starspot | mhall119|work, yes - I used port forwarding on the router | 19:55 |
mhall119|work | okay | 19:56 |
mhall119|work | just make sure you either use good passwords, or public key authentication only | 19:56 |
grayghost | I am looking for help with telnet ....?? | 19:56 |
mhall119|work | what kind of help? | 19:57 |
grayghost | I am trying to copy a file to a dd-wrt router and can't make copy work | 19:57 |
mhall119|work | does dd-wrt use ssh? | 19:58 |
grayghost | it can ... but that look harder. | 19:59 |
mhall119|work | it's safer, and make copying easier | 20:00 |
grayghost | but I should learn ssh ... I thought telnet looked easer | 20:00 |
mhall119|work | there's not much difference from a user perspective between ssh and telnet | 20:00 |
mhall119|work | but if you use ssh, you can use scp to copy files to and from dd-wrt | 20:01 |
grayghost | so do I log on the router with ssh insetad of telnet | 20:01 |
grayghost | or do I use ssh from the ubuntu shell | 20:01 |
mhall119|work | you need sshd running on the routher | 20:02 |
mhall119|work | then you ssh from the Ubuntu shell to the router | 20:02 |
mhall119|work | ssh username@routerip | 20:02 |
mhall119|work | should get you a shell on the router | 20:02 |
mhall119|work | scp $localfile username@routerip:/path/destfile | 20:02 |
mhall119|work | will copy $localfile to /path/destfile on the router | 20:03 |
grayghost | I don't understand username@routerip | 20:04 |
mhall119|work | okay, did you create a user account in dd-wrt? | 20:04 |
* mhall119|work isn't familiar with dd-wrt setup, sorry | 20:04 | |
grayghost | i am on the router now..... wirless | 20:05 |
mhall119|work | did you install dd-wrt? | 20:05 |
grayghost | yes I have it installed and working ... I am trying to copy acm.o to the router to set up mobil internet on the phone. | 20:08 |
grayghost | the wiki tells me what to copy ..but not exactly how. | 20:09 |
grayghost | I have the file on a usb drive which is avalible on the router ... i can see it with telnet ... but cp will not work on the router | 20:12 |
grayghost | I am installing sshd now and will try that | 20:14 |
grayghost | no joy :-X | 20:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!