LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2011, 06:25 AM   #1
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Rep: Reputation: 0
remote connection problem


Hi,

I was able to connect linux server on windows through putty.But now i am unable to connect that,I can able to ping that IP.SSH daemon is also running.

shall i need to change anything in configuration file...

kindly let me know what is the problem


thanks in advance

regards,
kathirvel.s
 
Old 02-24-2011, 06:29 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Any firewall?
Do you use the correct IP?
Error messages?
Any pointers in the logfiles?
What is the output from
Code:
ssh -vvv <IP>
Kind regards

Last edited by repo; 02-24-2011 at 06:35 AM.
 
Old 02-24-2011, 06:45 AM   #3
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Original Poster
Rep: Reputation: 0
Dear Repo,

Thanks your reply,

I hope it is not firewall problem, Because It was connected couple of days before.Selinux was being disabled then i changed to permissive.After I can't able to connect,but immediately i disabled selinux...I am connecting through putty,even telnet also I can't able to connect,but i can able to ping that ip on all windows system.while I tried to connect through telnet i got an error which mentioned below

"Connecting To 192.168.0.189...Could not open connection to the host, on port 23:
Connect failed"


regards,
Kathirvel.s
 
Old 02-24-2011, 10:02 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Make sure the firewall is disabled.
Code:
iptables -L
Will give you some info.
Try to connect on the server itself
Code:
ssh 127.0.0.1
Did you looked in the log files for any pointers?

Kind regards
 
1 members found this post helpful.
Old 03-02-2011, 11:32 PM   #5
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Original Poster
Rep: Reputation: 0
thanks Repo,

My firewall was enabled.I disabled then i can able to connect.

Thanks for your reply
Thanks,
Kathirvel.s
 
Old 03-03-2011, 04:04 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Glad it works, I would however suggest to configure the firewall so the connection works.

Kind regards
 
  


Reply



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
Remote connection problem mickeyboa Fedora 0 12-01-2008 12:40 PM
Problem in VNC remote connection - strange vikram8jp Linux - Newbie 4 10-23-2008 08:43 PM
MySQL remote connection problem after a heavy usage DungDX Linux - Server 5 08-12-2008 04:53 PM
Remote desktop connection problem.... OriginalOG Linux - Software 6 06-29-2008 11:47 PM
Web interface remote connection problem PpaKko Linux - Networking 0 08-13-2007 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:13 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