LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-18-2008, 06:17 AM   #1
womd
Member
 
Registered: Sep 2005
Location: Austria
Posts: 35

Rep: Reputation: 15
how to sshd-syslog ip-adresses only


hi forums

this time i have some troubles with my log.

in my /var/log/messages :

Mar 22 21:56:01 smallsau sshd[17647]: Invalid user lee from ::ffff:60.2.247.235
Mar 22 21:56:02 smallsau sshd[17627]: error: PAM: Authentication failure for root from forum.skynet.br

how to configure syslog/sshd to log the ip-adress on a PAM Auth error ?


im using suse 7.3
 
Old 04-18-2008, 06:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
man sshd_config says:
Code:
     UseDNS  Specifies whether sshd should look up the remote host name and
	     check that the resolved host name for the remote IP address maps
	     back to the very same IP address.	The default is ``yes''.
 
Old 04-18-2008, 06:36 AM   #3
womd
Member
 
Registered: Sep 2005
Location: Austria
Posts: 35

Original Poster
Rep: Reputation: 15
ok thank you !

must have overread it ... sry for disturbing
 
  


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
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
syslog-ng setup (for sshd and auth) m15a4 Linux - Security 12 02-17-2006 01:53 AM
FC4-Starting sshd: Privilege separation user sshd does not exist FAILED kiranherekar Fedora 5 12-29-2005 02:22 PM
sshd and syslog fredcll Linux - Networking 0 05-18-2004 12:17 PM
strange sshd syslog message dunkyb Linux - General 1 12-30-2002 08:49 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration