LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2002, 10:29 AM   #1
SchwipSchwap
Member
 
Registered: Aug 2002
Distribution: Suse8.0, Mandrake, Knoppix
Posts: 92

Rep: Reputation: 15
Question Stop SSH... connecting from outside


How can i stop SSH / telnet to accept connection
from outside ? (only want my local 127.0.0.1)

THX SchwipSchwap
 
Old 08-19-2002, 04:09 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
use Iptables to drop every connection on your SSH/Telnet port EXCEPT those from 127.0.0.1

If you want to hide your telnet/ssh, use option tcp-reset
I'm not on my computer right now, I will post an example later.
 
Old 08-19-2002, 04:27 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Or easier, I think that setting
ListenAddress 127.0.0.1
in /etc/ssh/sshd_config should be also good.
 
Old 08-20-2002, 11:30 AM   #4
SchwipSchwap
Member
 
Registered: Aug 2002
Distribution: Suse8.0, Mandrake, Knoppix
Posts: 92

Original Poster
Rep: Reputation: 15
changing sshd_config worked

THX SchwipSchwap
 
Old 08-20-2002, 11:33 AM   #5
SchwipSchwap
Member
 
Registered: Aug 2002
Distribution: Suse8.0, Mandrake, Knoppix
Posts: 92

Original Poster
Rep: Reputation: 15
You know any good software to search for trojans/viruses... for linux ???
 
Old 08-20-2002, 01:17 PM   #6
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
viruses does NOT exist under linux platform...
And I don't know any trojan scanner, there are too few trojans attacking linux, I think no one has make one yet.
 
Old 08-20-2002, 02:48 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
When a troyan is written for any Linux application, it becomes known quite fast. So the best method is to read security advisories, download from sites you trust and use software that scans your system searching for security holes (like Nessus).
 
Old 08-20-2002, 04:42 PM   #8
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
Trojans and viruses exist under linux... but are close enough to be non-existent as to be not much to worry about. Mostly this has to do with file permissions and good old UNIX structure making it so a user that downloaded something very bad can really only wreck their own directory.

Cheers,

Finegan
 
Old 08-20-2002, 04:54 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Troyans may be a problem for new Linux users. Some of them work as root all the time. They can download something bad from time to time.
 
Old 08-20-2002, 06:33 PM   #10
klickibunti
LQ Newbie
 
Registered: Aug 2002
Distribution: Red Hat Psyche
Posts: 18

Rep: Reputation: 0
http://www.chkrootkit.org/ is the best source for rootkit detection
 
Old 08-21-2002, 07:00 AM   #11
SchwipSchwap
Member
 
Registered: Aug 2002
Distribution: Suse8.0, Mandrake, Knoppix
Posts: 92

Original Poster
Rep: Reputation: 15
http://linux.oreillynet.com/pub/a/li...4/rootkit.html

THX that backdoor remote access was what im frightened on.

You cant be carefull enough
 
  


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
Remotely connecting to MySQL using SSH Teleute Linux - Security 19 03-25-2005 11:51 PM
Problems with SSH and connecting remotely username17 Linux - Networking 13 08-06-2004 07:57 PM
Please help easy questions, how do I stop a process from running in SSH? lexington Linux - Newbie 3 05-01-2004 01:03 PM
connecting linux w/ ssh dilberim82 Linux - Software 3 07-08-2003 07:46 AM
SSH timing out/not connecting NeccoWolf Linux - Networking 2 01-26-2003 03:01 PM


All times are GMT -5. The time now is 10:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration