LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-31-2006, 03:23 PM   #1
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Rep: Reputation: 16
Unable To Ssh


Hi

MY fedora machine was working as my file server along with few other servics,ftp,appache.Then i installed turtle firewall on it and made few rules.It was still working for few days.Then when i was modyfying one rule after that i aplly changes.
After that i am unable to ssh my box and unable to ftp it as well.
I had stopped turtle firewall service also stpoed it on boot,even stoped the iptables service and alos stoped it on boot and even flush es the iptables .But still facing that problem.
Can some body tell me what to do.May be turtle has placed some rule which i am unable to figure


Plz help me
Regard
Thomas
 
Old 01-31-2006, 03:41 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
What does iptables -vnL output? Can you ping the box?
 
Old 01-31-2006, 04:14 PM   #3
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
Hi

Yes i can ping it .Here is the output

Chain INPUT (policy ACCEPT 4475 packets, 316K bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 4442 packets, 731K bytes)
pkts bytes target prot opt in out source destination



Regard
Talat
 
Old 01-31-2006, 04:22 PM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
is the ssh service running? (ps -C sshd)

any entries in /etc/hosts.deny
 
Old 01-31-2006, 05:37 PM   #5
int0x80
Member
 
Registered: Sep 2002
Posts: 310

Rep: Reputation: Disabled
Can you relay the output of the following command: netstat -tlnp
Also try to nmap the box from a different system on your network: nmap -A -T5 -O -P0 <ip.of.fedora.machine>
 
Old 01-31-2006, 06:02 PM   #6
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
Hi ppuru


Thanks a lot.It work .Actually in the hosts.deny (as you suggested) file there was ALL:ALL entry
which i disable and it starts working
Once again body thanks allot



Regard
Talat
 
  


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
Unable to ssh in this shell hari_sasidharan Programming 2 12-29-2005 02:53 AM
Remote server, unable to SSH anymore Keiser Linux - Newbie 1 05-06-2005 10:13 PM
Unable to get shell when using SSH/CHROOT/PAM_TACPLUS slug420 Linux - Security 0 11-16-2004 09:32 AM
unable to connect to my linux router from internet using ssh shkkhanhyd Linux - Security 3 03-31-2004 09:44 PM
unable to connect with ssh except to localhost Yaukuai Linux - Software 0 09-30-2001 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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