From: Andrew <andi27rus@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] работает ли sshd
Date: Mon, 08 Jul 2013 19:17:31 +1100
Message-ID: <51DA759B.9070101@gmail.com> (raw)
In-Reply-To: <web-1164385488@cgp.dol.ru>
> iptables стоит крутить после, когда с сервисом sshd разобрались :)
>
> Кстати, есть ещё такая команда control (man control),
> а среди доступных ей "ручек" есть пара в sshd:
> # control | grep sshd
> И, особенно для сервера, имеет смысл сделать доступ только по ключу:
> control sshd-password-auth disabled, затем перезапустить sshd,
> т.к. control только изменяет конфиг sshd. Естественно, положив в нужное
> место ключи.
> (Если всё это делаете не с консоли, а по ssh, то перезапускайте так:
> service sshd reload, тогда текущие ssh-соединения останутся живы, и вы
> сможете проверить результат и при ошибке откатить.)
>
> Андрей Ляховец
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
Спасибо! Вот сейчас, после того как ssh заработал на нужном порту, я его
как раз
и настраиваю. И как раз возникли проблемы с аутентификацией по ключу. :)
Пожалуй стоит попробовать ваш подход.
next prev parent reply other threads:[~2013-07-08 8:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-08 7:15 ` Andrey Liakhovets
2013-07-08 8:17 ` Andrew [this message]
2013-07-08 9:08 ` Andrey Liakhovets
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=51DA759B.9070101@gmail.com \
--to=andi27rus@gmail.com \
--cc=community@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 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