Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

How to open a port in Redhat 8.0

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2003, 09:46 AM
Default How to open a port in Redhat 8.0



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.



Linux_Newbie
Reply With Quote
  #2  
Old 10-07-2003, 10:00 AM
Carsten Keller
Guest
 
Posts: n/a
Default Re: How to open a port in Redhat 8.0

"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
  #3  
Old 10-07-2003, 11:49 AM
Linux_Newbie
Guest
 
Posts: n/a
Default Re: How to open a port in Redhat 8.0

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
  #4  
Old 10-07-2003, 12:31 PM
Carsten Keller
Guest
 
Posts: n/a
Default Re: How to open a port in Redhat 8.0


"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
  #5  
Old 10-07-2003, 05:11 PM
Xyerp
Guest
 
Posts: n/a
Default Re: How to open a port in Redhat 8.0

> > "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
  #6  
Old 10-07-2003, 06:50 PM
Dave {Reply Address in.sig}
Guest
 
Posts: n/a
Default Re: How to open a port in Redhat 8.0

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

Tags
open, port, redhat

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
Forum Jump


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.