ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Mykola S. Grechukh" <gns@altlinux.org>
To: ksynolog@ukr.net,
	 "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] sshd_config
Date: Mon, 6 Oct 2008 16:45:56 +0300
Message-ID: <a4ab440f0810060645i3966835bnae650a0563e770cb@mail.gmail.com> (raw)
In-Reply-To: <1223300135.13935.2.camel@andrey>

2008/10/6 Андрей Новосёлов <>:
> Я правильно понимаю, что если я задам параметр в sshd_config:
> ListenAddress 192.168.1.1/24 aaa.bbb.ccc.ddd ( внешний адрес , за  NAT),
> то я смогу заходить на этот сервер только с указанного внешнего компа и
> из внутренней сети?

что такое "указанный внешний комп" ?

ListenAddress это address sshd should listen to. Он попытается
повеситься на aaa.bbb.ccc.ddd, и сдохнет если такого адреса нет ни на
одном локальном интерфейса.

Чтобы заходить только с определенного компа, предлагаю почитать
http://linux.die.net/man/8/pam_access и что-нибудь про iptables.

  reply	other threads:[~2008-10-06 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06 13:35 Андрей Новосёлов
2008-10-06 13:45 ` Mykola S. Grechukh [this message]
2008-10-06 13:46 ` Yuri Bushmelev

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=a4ab440f0810060645i3966835bnae650a0563e770cb@mail.gmail.com \
    --to=gns@altlinux.org \
    --cc=ksynolog@ukr.net \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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