[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:70869] Re: SSHをパスワードなしで動作させたい


松村@日立MSです。

> 1.リモートホスト、ローカルホストともにtakoユーザでログインし ssh-keygenで
>     公開鍵、秘密鍵を作成

この時点でパスフレーズを聞かれますがそのままリターンキーを押して
キーを作成したら大丈夫だと思いますが。
OpenSSH を使用していますが同じ方法でいけると思います。

一応ご参考までに。

% ssh-keygen
Generating RSA keys:  ............ooooooO................ooooooO
Key generation complete.
Enter file in which to save the key (/home/test/.ssh/identity):
Enter passphrase (empty for no passphrase):(そのままりたーんきー)
Enter same passphrase again:(そのままりたーんきー)
Your identification has been saved in /home/test/.ssh/identity.
Your public key has been saved in /home/test/.ssh/identity.pub.
The key fingerprint is:
28:33:b6:e2:7a:f8:32:6a:2d:30:d3:b8:2c:78:9b:2e

% scp .ssh/identity.pub mukouno-host:~test/.ssh/authorized_keys
% ssh mukouno-host
% chmod 600 .ssh/authorized_keys


---
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-//
// Toshihiro Matsumura E-Mail toshi-m _at_ hitachi-ms.co.jp //
// (HitachiMicrosoftwareSystems Inc)                   //
// HP: http://www.hitachi-ms.co.jp/                    //
// Phone 045-865-8177 Internalphone 8-61-90-2510       //
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-//

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: