LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2009, 03:54 PM   #1
Bodi
LQ Newbie
 
Registered: Jul 2009
Posts: 25

Rep: Reputation: 2
SSH port 22 unblocking on the modem ?


i've tried to set up on my ubuntu ssh so i can ssh to it from work, i installed openssh and all that and when i try to ssh to my computer from a computer which is on the same network, on the same modem i am able to connect fine but when i try to ssh from work to home i am not able to establish ssh connection

at home i got ubuntu with latest openssh available at work i've got windows with putty client

as i was reading about this in many articles it says to unblock the 22 port in the modem so i can access it through that port from the outside

other possible cause that i think of is if im not able to find my ip address on the network i am finding one ip address which is probably the outside address not the internal one

any suggestion how can i unblock the modem port 22 and how can i determine what my ip address on the internet is
 
Old 07-16-2009, 04:37 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,056

Rep: Reputation: 57
It is possible that at your work, the port 22 is closed, so you cannot go through that port, and not be able to connect to your computer at home. In that case, you should configure your work modem as well to enable that port.

The IP you have to use is your public IP, not the one your modem/router is giving to you (that one is for internal networking). There are numerous websites in internet that will tell you which public IP you have. Also keep in mind that if you have dynamic IP, it will be changing from time to time.
 
Old 07-16-2009, 06:30 PM   #3
Bodi
LQ Newbie
 
Registered: Jul 2009
Posts: 25

Original Poster
Rep: Reputation: 2
ok im pretty sure that the 22 port at work is not blocked because i am using putty all the time, im constantly connect to a server and im ssh-ing all the time we are a webhosting tech support i do ssh-ing a lot but im not really able to set it up at home
 
Old 08-11-2009, 09:41 AM   #4
aortiza
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: Disabled
Apparently the openssh server is not installed in ubuntu by default.
Try
Code:
sudo apt-get install openssh-server
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smtp port unblocking nickkarugu2008 Linux - Newbie 1 05-13-2009 12:04 PM
Unblocking port 80 chownuseradd Linux - Newbie 3 07-29-2008 02:30 AM
unblocking a port Solvaut Linux - Newbie 3 07-15-2005 05:53 PM
Open port ssh with modem router dicou Linux - Newbie 12 05-23-2004 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration