× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Dennis,
 
For instance I execute this command from my iSeries - I want to get lines about this in Syslog or in another log file:
 ssh -f -l razloe 1.1.1.229 df -k                                                 
 razloe@xxxxxxxxx's password: Permission denied, please try again.                
 razloe@xxxxxxxxx's password: Permission denied, please try again.                
 razloe@xxxxxxxxx's password: Permission denied (publickey,gssapi-with-mic,password
 
The ideal thing is to get message in format of SSHD log:
sshd[209292]: Failed password for razloe from 1.1.1.229 port 44858 ssh2

Also if the command is successful, I expect to get a line in syslog.Perhaps like this:
sshd[209466]: Accepted publickey for raloe from 1.1.1.229 port 49627 ssh2

Regards,
 
Zvi

--- On Sun, 8/29/10, Dennis Lovelady <iseries@xxxxxxxxxxxx> wrote:


From: Dennis Lovelady <iseries@xxxxxxxxxxxx>
Subject: RE: SSH Client to syslog: How to send
To: "'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
Date: Sunday, August 29, 2010, 8:21 AM


What are you trying to log?  Can you give a simple example or a little more
explanation of what you're trying to achieve?

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Politics is not a bad profession. If you succeed there are many rewards, if
you disgrace yourself you can always write a book."
        -- Ronald Reagan


Zvi Kave wrote:

I am trying to send SSH client messages to syslog.
SSHD (the server) sends the messages without any porblem.
But the SSH client does not send such a message.
I use the standard iSeries SSH installation on V5R3.
However, in the ssh_config file, there is a LogLevel parameter.
Someone has an idea ?




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.