From: "Епифанов Сергей" <serpiph@entek.ru>
To: community@altlinux.ru
Subject: Re: [Comm] passwdless ssh
Date: Wed, 30 Apr 2003 15:06:49 +0400
Message-ID: <200304301506.49355.serpiph@entek.ru> (raw)
In-Reply-To: <200304301308.53618.dikov@imbg.org.ua>
В сообщении от 30 Апрель 2003 14:08 Dmitry Kovalsky написал:
> хочу настроить беспаролевый вход по ссш на машины где стоит
> Мастер 2.2 но не получаеться
>
> что я делаю
> [dikov@violet .ssh]$ ssh-keygen -t dsa
> [dikov@violet .ssh]$ cp id_dsa.pub authorized_keys
> [dikov@violet .ssh]$ cp id_dsa.pub authorized_keys2
> [dikov@violet .ssh]$ ssh violet
> dikov@violet's password:
> Кто то мне подскажет что не так?
А настройка сервера ssh какая? У меня это работает так:
1) сгенерил ключи БЕЗ ПАРОЛЯ
2) скопировал открытый ключ в /etc/openssh/authorized_keys/file
Вместо file можно другое имя
3) Настроил сервер в /etc/openssh/sshd_config
RSAAuthentication yes
PubkeyAuthentication yes
3) Попробовал подключиться - работает
--
С уважением, Епифанов Сергей
next prev parent reply other threads:[~2003-04-30 11:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-30 10:08 Dmitry Kovalsky
2003-04-30 10:24 ` Albert R. Valiev
2003-04-30 11:12 ` Dmitry Kovalsky
2003-05-01 9:28 ` Albert R. Valiev
2003-04-30 11:06 ` Епифанов Сергей [this message]
2003-05-06 15:22 ` [Comm] " Alexey Tourbin
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=200304301506.49355.serpiph@entek.ru \
--to=serpiph@entek.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