* [Comm] Длина ключа OpenSSH
@ 2003-01-24 8:36 Sergei Dolmatov
2003-01-27 0:07 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Sergei Dolmatov @ 2003-01-24 8:36 UTC (permalink / raw)
To: AltLinux Community
Добрый день!
Когда-то, настолько давно, что успел забыть, сгенерировал себе ключи для
OpenSSH, DSA. Но не помню, какой они длины. Как-нибудь можно узнать длину
ключа?
Или - как можно сделать новые ключи и поместить их так, чтобы можно было
использовать новые и старые ключи одновременно (для доступа, разумеется, к
различным машинам)?
--
Regards,
Sergei Dolmatov.
---
Thus spake the master programmer:
"After three days without programming, life becomes meaningless."
-- Geoffrey James, "The Tao of Programming"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Длина ключа OpenSSH
2003-01-24 8:36 [Comm] Длина ключа OpenSSH Sergei Dolmatov
@ 2003-01-27 0:07 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2003-01-27 0:07 UTC (permalink / raw)
To: ALT Linux general discussion list
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
On Fri, Jan 24, 2003 at 04:36:20PM +0800, Sergei Dolmatov wrote:
> Когда-то, настолько давно, что успел забыть, сгенерировал себе ключи для
> OpenSSH, DSA. Но не помню, какой они длины. Как-нибудь можно узнать длину
> ключа?
eval echo \$\(\(`awk '{print $2}' ~/.ssh/id_dsa.pub |wc -c`-69\)\)
Замените ~/.ssh/id_dsa.pub на имя файла с вашим openssh dsa public key.
> Или - как можно сделать новые ключи и поместить их так, чтобы можно было
> использовать новые и старые ключи одновременно (для доступа, разумеется, к
> различным машинам)?
Поместите их в файлы с разными именами, используйте директиву IdentityFile
в ~/.ssh/config для выбора, см. ssh_config(5).
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-27 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-24 8:36 [Comm] Длина ключа OpenSSH Sergei Dolmatov
2003-01-27 0:07 ` Dmitry V. Levin
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