From: "Andrey Liakhovets" <liakh@dol.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] работает ли sshd
Date: Mon, 08 Jul 2013 13:08:03 +0400
Message-ID: <web-1164420641@cgp.dol.ru> (raw)
In-Reply-To: <51DA759B.9070101@gmail.com>
On Mon, 08 Jul 2013 19:17:31 +1100 Andrew wrote:
>
>> iptables стоит крутить после, когда с сервисом sshd разобрались :)
>>
>> Кстати, есть ещё такая команда control (man control),
>> а среди доступных ей "ручек" есть пара в sshd:
>> # control | grep sshd
>> И, особенно для сервера, имеет смысл сделать доступ только по ключу:
>> control sshd-password-auth disabled, затем перезапустить sshd,
>> т.к. control только изменяет конфиг sshd. Естественно, положив в нужное
>> место ключи.
>> (Если всё это делаете не с консоли, а по ssh, то перезапускайте так:
>> service sshd reload, тогда текущие ssh-соединения останутся живы, и вы
>> сможете проверить результат и при ошибке откатить.)
>>
>> Андрей Ляховец
>>
>Спасибо! Вот сейчас, после того как ssh заработал на нужном порту, я его как раз
>и настраиваю. И как раз возникли проблемы с аутентификацией по ключу. :)
>Пожалуй стоит попробовать ваш подход.
Этот "подход" не решит проблем доступа по ключу.
Он только запретит доступ по паролю.
Андрей Ляховец
prev parent reply other threads:[~2013-07-08 9:08 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
2013-07-08 9:08 ` Andrey Liakhovets [this message]
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=web-1164420641@cgp.dol.ru \
--to=liakh@dol.ru \
--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