[Cialug] Remote Access

Brandon Griffis brandongriffis at gmail.com
Mon Aug 14 09:42:18 CDT 2006


If you can SSH while on your internal network then we know sshd is setup and
working correctly.

Only things left to check (that I can think of) is to double check your port
forward is pointing to the correct internal IP address for your Linux box.
And to double check your WAN IP address on the router.

Also are you always trying to SSH from the same external location (ie: work,
school)?  It might be that port 22 is being blocked on that end.  Outbound
22 was blocked at my office for a time as well.

If you want you can email me off list with your WAN ip and I can try to SSH
from here (don't need any login info, just to see if I can establish a
connection).

-Gamble

On 8/14/06, David Stout <ragbrai65 at yahoo.com> wrote:
>
> Sorry 23 was a typo I am forwarding on 22.
>
>
> *Jerry Heiselman <jweida at gmail.com>* wrote:
>
> SSH is port 22, not 23. That would be telnet.
>
> On 8/14/06, David Stout wrote:
> >
> > I can SSH in to the SuSe box from Win on my local network but not from
> > outside. I
> > have my router set to forward port 23. I cannot figrue out what else it
> > could be. Does anyone have any ideas.
> >
> > Brandon Griffis wrote:
> > Sorry if this has already been answered. I scanned through the emails
> and
> > didn't see a response.
> >
> > Is sshd (the secure shell server daemon) running on the server you are
> > trying to connect to?
> >
> > To check you can run the command:
> >
> > ps -A | grep sshd
> >
> > You should get an output similar to this:
> >
> > myuser at mymachine ~ $ ps -A | grep sshd
> > 6869 ? 00:00:00 sshd
> > 24780 ? 00:00:00 sshd
> > 24786 ? 00:00:00 sshd
> > myuser at mymachine ~ $
> >
> > If you do please try to connect to the server using SSH on your server's
> > LAN.
> >
> > If you can do that then we know it's a problem with the external
> connection
> > (port forwarding, IP address...)
> >
> > If you can't then we know it's an installation/configuration problem.
> >
> > Thanks,
> > Gamble
> >
> >
> >
> > On 8/9/06, carl-olsen at mchsi.com wrote:
> > >
> > >
> > >
> > > I disable the firewall in my Linux network interface settings, since I
> > have a firewall on my router with port 22 forwarded to my Linux machine.
> > >
> > > -------------- Original message from "Justin Richeson" <
> > jrnosee at gmail.com>: --------------
> > >
> > >
> > > I think you may be having the same problem as me. I can't get into my
> > linux box either on any protocol from an off-network pc. Is there a
> built
> > in firewall in linux that needs to be setup before attempting to
> connect?
> > >
> > >
> > >
> > >
> > >
> > > On 8/9/06, David Stout < ragbrai65 at yahoo.com> wrote:
> > >
> > > >
> > >
> > >
> > >
> > > I have tried both version 1 & 2. there is a box for Remote command is
> > there a command I should enter here? And On preferred encryption
> algorithm I
> > have the following options.
> > > 3DES, Blowfish, and DES. There is also a check box for Imitate SSH MAC
> bug
> > in commercial <= v2.3.x should this be checked.
> > >
> > >
> > > carl-olsen at mchsi.com wrote:
> > >
> > >
> > >
> > >
> > >
> > > There are a lot of different settings in PuTTY. Have you tried various
> > settings? What protocol version are you using?
> > >
> > >
> > >
> > > -------------- Original message from David Stout < ragbrai65 at yahoo.com
> >:
> > --------------
> > >
> > >
> > > Sorry to keep beating this thread to death but I am still have
> trouble.
> > >
> > > I have port 19-23 forwarded on my router. I went to dyndns and set up
> a
> > dns. I can ping the ip remotely (from work) but when I try to do a
> TELNET
> > session I get a connect failed message. I also have putty installed on
> my
> > win box at work and when I try ssh or telnet from the win box I get
> Unable
> > to open connection: connect(); unknown error.
> > >
> > > "Daniel A. Ramaley" wrote:
> > >
> > >
> > > What type of access do you need? A terminal window, or a full X
> session,
> > > or something else? For just a terminal window, i'd recommend
> > > downloading PuTTY (Google for "putty" and it should be in the first 2
> > > hits) and using it to SSH to your Linux box. You'll need to make sure
> > > your Linux box has a routable IP, or forward the SSH port (TCP/22)
> from
> > > a routable IP to the Linux box.
> > >
> > > X is a bit more complicated; i've never needed to go from MS Windows
> to
> > > X Windows. There are projects such as Cygwin that will let you set up
> > > an X server on Windows and then from there you'd be able to connect to
> > > the Linux box and run applications. A possibly easier solution would
> be
> > > to run VNC on the Linux box and then connect from Windows with a VNC
> > > viewer. I've done that before, though with Linux or OS X as the client
> > >
> > > rather than Windows. It gives you a full deskto p, and is much more
> > >
> > > responsive than X over SSH. To use VNC to go from one Linux box to
> > > another, get SSH working, then on the server do "vncserver :2
> -geometry
> > > 1024x768 -depth 8" and on the client "vncviewer -via
> > > localhost:1". When done you can stop the server with "vncserver
> > > -kill :1" on the server. I would think that using Windows as the
> client
> > > would be similar, though the client command may differ slightly.
> > >
> > > On Tuesday 08 August 2006 08:01, David Stout wrote:
> > > >I would like to access my Linux box from work. At home I am running
> > > > SuSe 10.1 with a linksys router. At work I am on Win XP Pro. What is
> > > > the best way to accomplish this. Do I need to forward any ports?
> > > >
> > > >David Stout
> > > >Systems Programmer
> > > >Regency Homes
> > > >
> > > >---------------------------------
> > > >Do you Yahoo!?
> > > > Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
> > >
> > > --
> > > ---------------------- ---------------------
> -----------------------------
> > > Dan Ramaley Dial Center 118, Drake University
> > > Network Programmer/Analyst 2407 Carpenter Ave
> > > +1 515 271-4540 Des Moines IA 50311 USA
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > >
> > >
> > >
> > >
> > > David Stout
> > > Systems Programmer
> > > Regency Homes
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam protection around
> > > http://mail.yahoo.com
> > >
> > >
> > > From: David Stout
> > > To: Central Iowa Linux Users Group < cialug at cialug.org>
> > > Subject: Re: [Cialug] Remote Access
> > > Date: Wed, 9 Aug 2006 13:35:23 +0000
> > >
> > >
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > >
> > >
> > >
> > >
> > > David Stout
> > > Systems Programmer
> > > Regency Homes
> > >
> > > ________________________________
> > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> > >
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------- Forwarded message ----------
> > > From: "Justin Richeson"
> > > To: "Central Iowa Linux Users Group" < cialug at cialug.org>
> > > Date: Wed, 9 Aug 2006 15:05:12 +0000
> > > Subject: Re: [Cialug] Remote Access
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > >
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > >
> > >
> >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> >
> >
> > David Stout
> > Systems Programmer
> > Regency Homes
> >
> >
> > ________________________________
> > Get your email and more, right on the new Yahoo.com
> >
> >
> >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> >
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>
>
> David Stout
> Systems Programmer
> Regency Homes
>
> ------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls<http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>to the US (and 30+ countries) for 2¢/min or less.
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20060814/84152001/attachment-0001.htm


More information about the Cialug mailing list