Re: AW: Logging of interactive / batch shell inputs / outputs



Hi,

thank you for the reply, Jörg.

The problem is, that there a half a dozen of differenst shells on each
Release of an OS.
We've got lots of different OS-Releases, a minimum of 10, I guess.
To compile over 50 different Shells with a loggerpatch (which is perhaps not
availible for every single kind of shell) is abundant unpractical for us,
not to talk about the support question.
For scp and sftp, this would be also no solution, wouldn't it be?

Somebody told me, that with an older release of OpenSSH with a specific
value of the "LogLevel"-parameter in "sshd_config", he could have seen
command logs, but he isn't sure...

Greetings, Tobias

> --- Ursprüngliche Nachricht ---
> Von: jockelp@xxxxxxxx
> An: secureshell@xxxxxxxxxxxxxxxxx
> Kopie: tob_sch@xxxxxx
> Betreff: AW: Logging of interactive / batch shell inputs / outputs
> Datum: Wed, 18 Jan 2006 09:23:28 +0100 (CET)
>
> Hello,
>
> this is rather a job for the shell than for sshd.
> You might use forced commands to execute a specialised logging-shell
> instead of standard-user shell.
> You have to modify qour shell for logging.
> There's a patch called bashlogger to syslog all history-commands:
> http://bugs.gentoo.org/show_bug.cgi?id=91327
> http://bugs.gentoo.org/attachment.cgi?id=57967&action=view
>
> There's no ready-to-use solution for all your actions.
>
> Greetings, Jörg
>
> > -----Ursprüngliche Nachricht-----
> > Von: Tob_Sch@xxxxxx [mailto:Tob_Sch@xxxxxx]
> > Gesendet: Dienstag, 17. Januar 2006 22:56
> > An: secureshell@xxxxxxxxxxxxxxxxx
> > Betreff: Logging of interactive / batch shell inputs / outputs
> >
> >
> > Hi,
> >
> > we are using OpenSSH 4.2p1 on different OS (AIX, SunOS, HP-UX, Linux).
> > Are there any hidden or documented sshd_config-parameters to
> > explicitly
> > enable logging into syslog for one, some or all of following actions:
> >
> > 1. interactive shell command inputs made during a ssh-session
> > 2. interactive shell command outputs displayed during a ssh-session
> > 3. batch shell command inputs made during a ssh-session
> > 4. batch shell command outputs displayed during a ssh-session
> > 5. file actions during a scp-session
> > 6. file actions during a sftp-session
> >
> > Thanks in advance.
>

--
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner



Relevant Pages

  • Re: How to set /etc/fstab again after system has started
    ... on a Linux desktop somewhere. ... that shell prompt become somewhat more important. ... For me, the big one is "select", which allows any shell command or alias ...
    (comp.os.linux.misc)
  • Re: How to set /etc/fstab again after system has started
    ... on a Linux desktop somewhere. ... that shell prompt become somewhat more important. ... For me, the big one is "select", which allows any shell command or alias ...
    (comp.os.linux.misc)
  • Re: Files launched w/ Followhyperlink open but not visible
    ... It appears that you got a useful answer on using Shell. ... New Window argument. ... it opens an instance of the software registered ... Yes I have considered the Shell command. ...
    (comp.databases.ms-access)
  • RE: Directories into arrays, again.
    ... >>> And a reason why using a shell command to copy a file is a bad idea. ... Well, I boiled the script down to essentials before posting it, ... only use the piped open form when you need to communicate ...
    (perl.beginners)
  • Re: [OT] Vim Question
    ... How do you invoke a shell command and pass arguments to said command? ... foo bar foobar barfoo a b c ...
    (comp.lang.ruby)