Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to open a port in Redhat 8.0

Reply
Thread Tools Display Modes

How to open a port in Redhat 8.0

 
 
Linux_Newbie
Guest
Posts: n/a

 
      10-07-2003, 08:46 AM
Hi all,

I am trying to setup openssh in redhat 8.0. I am not using any firewall
(iptables or ipchains).

I am not able to access data center system using openssh from
homeoffice. with nmap it is not showing port 22 as open. I have been
searching on internet but could not find how to open port 22. some
replies were suggeseting to use iptables to open but i have disabled
iptalbles on this machine. i am able to get that first time ssh login
message when i try within LAN at datacenter.

Any help is greatly appreciated.

 
Reply With Quote
 
 
 
 
Carsten Keller
Guest
Posts: n/a

 
      10-07-2003, 09:00 AM
"Linux_Newbie" <(E-Mail Removed)> wrote in message
news:E3vgb.55983$%h1.42025@sccrnsc02...
> Hi all,
>
> I am trying to setup openssh in redhat 8.0. I am not using any firewall
> (iptables or ipchains).
>
> I am not able to access data center system using openssh from
> homeoffice. with nmap it is not showing port 22 as open. I have been
> searching on internet but could not find how to open port 22. some
> replies were suggeseting to use iptables to open but i have disabled
> iptalbles on this machine. i am able to get that first time ssh login
> message when i try within LAN at datacenter.


The problem is probably not at the Linux-box. Do you have a firewall
shielding your datacenter from the internet, and thereby your home office?
Ask your network administrator if he can/will open it for ssh traffic to
pass.

Regards
Carsten Keller


 
Reply With Quote
 
Linux_Newbie
Guest
Posts: n/a

 
      10-07-2003, 10:49 AM
Thanks Carsten for your reply. There is no firewall shielding on either
side as i am able to connect to other server from same data Center LAN.
This server has port 22 open as seen in nmap on this server.

So there has to be some way to open port 22 on other server so that i
can access openssh.

Carsten Keller wrote:

> "Linux_Newbie" <(E-Mail Removed)> wrote in message
> news:E3vgb.55983$%h1.42025@sccrnsc02...
>
>>Hi all,
>>
>>I am trying to setup openssh in redhat 8.0. I am not using any firewall
>>(iptables or ipchains).
>>
>>I am not able to access data center system using openssh from
>>homeoffice. with nmap it is not showing port 22 as open. I have been
>>searching on internet but could not find how to open port 22. some
>>replies were suggeseting to use iptables to open but i have disabled
>>iptalbles on this machine. i am able to get that first time ssh login
>>message when i try within LAN at datacenter.

>
>
> The problem is probably not at the Linux-box. Do you have a firewall
> shielding your datacenter from the internet, and thereby your home office?
> Ask your network administrator if he can/will open it for ssh traffic to
> pass.
>
> Regards
> Carsten Keller
>
>


 
Reply With Quote
 
Carsten Keller
Guest
Posts: n/a

 
      10-07-2003, 11:31 AM

"Linux_Newbie" <(E-Mail Removed)> wrote in message
newsSwgb.703794$uu5.116141@sccrnsc04...
> Thanks Carsten for your reply. There is no firewall shielding on either
> side as i am able to connect to other server from same data Center LAN.
> This server has port 22 open as seen in nmap on this server.
>
> So there has to be some way to open port 22 on other server so that i
> can access openssh.


I'm not sure what you mean. Is this correct:
You want to use a ssh-client from your homenetwork to connect to a
ssh-server at the data-center.
There's no firewall protecting your datacenter-LAN from the internet.
You have no firewall protecting your home-office.
You can connect with a ssh-client on Datacenter-LAN to the server.

Can you reach any other services from home to the data-center? Ping, www,
mail etc.?

Regards
Carsten Keller


 
Reply With Quote
 
Xyerp
Guest
Posts: n/a

 
      10-07-2003, 04:11 PM
> > "Linux_Newbie" <(E-Mail Removed)> wrote in message
> > news:E3vgb.55983$%h1.42025@sccrnsc02...
> >
> >>Hi all,
> >>
> >>I am trying to setup openssh in redhat 8.0. I am not using any firewall
> >>(iptables or ipchains).
> >>
> >>I am not able to access data center system using openssh from
> >>homeoffice. with nmap it is not showing port 22 as open. I have been
> >>searching on internet but could not find how to open port 22. some
> >>replies were suggeseting to use iptables to open but i have disabled
> >>iptalbles on this machine. i am able to get that first time ssh login
> >>message when i try within LAN at datacenter.

> >
> >
> > The problem is probably not at the Linux-box. Do you have a firewall
> > shielding your datacenter from the internet, and thereby your home office?
> > Ask your network administrator if he can/will open it for ssh traffic to
> > pass.
> >
> > Regards
> > Carsten Keller
> >
> >


Agreed. Assuming sshd is running, then if you cannot access port 22
something is preventing this. You have stated that the server has no
firewall running - your data center will have one (or more) though.
Talk to the support staff there and ensure that they have enabled
remote access for you.
 
Reply With Quote
 
Dave {Reply Address in.sig}
Guest
Posts: n/a

 
      10-07-2003, 05:50 PM
In message <E3vgb.55983$%h1.42025@sccrnsc02>, Linux_Newbie wrote:

> Hi all,
>
> I am trying to setup openssh in redhat 8.0. I am not using any firewall
> (iptables or ipchains).
>
> I am not able to access data center system using openssh from
> homeoffice. with nmap it is not showing port 22 as open. I have been
> searching on internet but could not find how to open port 22. some
> replies were suggeseting to use iptables to open but i have disabled
> iptalbles on this machine. i am able to get that first time ssh login
> message when i try within LAN at datacenter.
>

Try netstat -atn

The output should include a line something like:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN


If not, your sshd isn't running properly. I assume you're trying to run it
direct and not via xinetd?

Dave
--
mail: da (E-Mail Removed) (without the space)
http://www.llondel.org/
So many gadgets, so little time...

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket connection to port fails despite port open / listening ! Jack Linux Networking 2 12-19-2007 03:46 PM
the FREEBSD4.11 file <bsd.port.mk> what should be use in REDHAT 8.0 yogesh Linux Networking 0 12-23-2006 06:51 PM
How to open the port 5050,5051,5052 for redhat Simon Lee Linux Networking 4 08-06-2005 02:48 AM
open ports on the router port 1900udp and port 5643 tcp James Broadband Hardware 0 02-20-2005 08:07 AM
Open a Port Bob Garbados Windows Networking 3 12-22-2004 05:09 PM



1 2 3 4 5 6 7 8 9 10 11