ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Muratov <migor@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] opensshd - с каких хостов подключались
Date: Tue, 12 Aug 2003 17:10:04 +0400
Message-ID: <3F38E72C.4040000@altlinux.ru> (raw)
In-Reply-To: <3F38E184.7030704@rmts.donpac.ru>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Прокопьев Евгений пишет:
| Igor Muratov пишет:
|
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Прокопьев Евгений пишет:
|> | Andrew Borodin пишет:
|> |
|> |> On Tue, Aug 12, 2003 at 02:03:14PM +0400, Прокопьев Евгений wrote:
|> |>
|> |>> Maxim.Savrilov@socenter.ru пишет:
|> |>>
|> |>>
|> |>>> On Tue, 12 Aug 2003 11:01:04 +0400
|> |>>> Прокопьев Евгений <john@rmts.donpac.ru> wrote:
|> |>>>
|> |>>>> Можно ли узнать, с каких хостов подключались к машине по ssh, не
|> |>>>> прибегая к ведению логов средствами iptables? Сам openssh такого
|> |>>>> фиксировать не умеет?
|> |>>>
|> |>>>
|> |>>>
|> |>>> умеет
|> |>>> /var/log/messages на все про все
|> |>>
|> |>>
|> |>> только не по умолчанию
|> |>>
|> |>
|> |>
|> |>   /var/log/auth/messages, grep по sshd
|> |
|> |
|> | там только имена подключавшихся, хостов нет
|> |
|> Вот выдержка из /var/log/messages
|> Aug 12 15:01:41 filer sshd[1467]: Accepted password for migor from
|> 192.168.0.1 port 46083 ssh2
|>
|> Т.е. на самом деле все есть :)
|
|
| А у меня так:
|
| Aug 12 08:04:40 firebird pam_tcb[28464]: sshd: Authentication passed for
| john from (uid=0)
| Aug 12 08:04:40 firebird pam_tcb[28469]: sshd: Session opened for john
| by (uid=503)
|
Вот все записи в логе создаваемые при логине. Обращаю внимание что я в
предидущем посте брал не то что пишет в лог tcb а то что пишет именно
сам sshd.

Aug 12 14:05:22 filer sshd[1096]: Accepted publickey for migor from
192.168.0.1 port 44122 ssh2
Aug 12 14:05:22 filer sshd[1095]: Accepted publickey for migor from
192.168.0.1 port 44122 ssh2
Aug 12 14:05:22 filer pam_tcb[1098]: sshd: Session opened for migor by
(uid=500)
Aug 12 14:05:22 filer pam_tcb[1098]: sshd: Session closed for migor


rpm -q openssh ?

- --
With best regards                    System administrator
Igor Muratov                         mailto:migor at altlinux.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/OOcrqjgjB/MK76QRAou0AJ99bDX3JMbsudJnuSEzA26utevWpgCeJBJ6
ZblEdKR88Iy8uXQjzsoMjqo=
=tOxW
-----END PGP SIGNATURE-----



  reply	other threads:[~2003-08-12 13:10 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-12  7:01 Прокопьев Евгений
2003-08-12  7:08 ` Maxim.Savrilov
2003-08-12 10:03   ` Прокопьев Евгений
2003-08-12 10:21     ` Andrew Borodin
2003-08-12 10:33       ` Прокопьев Евгений
2003-08-12 12:10         ` Igor Muratov
2003-08-12 12:45           ` Прокопьев Евгений
2003-08-12 13:10             ` Igor Muratov [this message]
2003-08-12 15:26               ` igo
2003-08-13  4:28               ` Прокопьев Евгений
2003-08-12 11:13     ` Maxim.Savrilov
2003-08-12  7:41 ` Antonio
2003-08-12  7:52   ` Antonio
2003-08-12 14:01     ` [Comm] 64 битные многопроцессорные системы Sergey Scherbina
2003-08-12 13:54       ` Vitaly Lugovsky
2003-08-12 13:59         ` Maxim Tyurin
2003-08-12 18:18           ` Vitaly Lugovsky
2003-08-12 16:15           ` Alexander Bokovoy
2003-08-12 16:25           ` A.L. Klyutchenya
2003-08-12 18:20           ` Vitaly Lugovsky
2003-08-12 19:31             ` A.L. Klyutchenya
2003-08-13  6:21           ` Dmytro O. Redchuk
2003-08-12 10:38   ` [Comm] opensshd - с каких хостов подключались Прокопьев Евгений
2003-08-12 12:09 ` [Comm] " Alexey Tourbin
2003-08-12 12:47   ` Прокопьев Евгений

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F38E72C.4040000@altlinux.ru \
    --to=migor@altlinux.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git