|
From the ac.uk site, Loglevel looks to be promising, though SyslogFacilitymay influence that setting.
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 ?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.