OpenSSL/OpenSSH の戯言(2003/02/05)
コマンド 使用用途 ssh リモートホストにログイン、コマンドを実行 slogin リモートホストにログイン scp リモートホストとの間でファイルをコピー(転送)
プロトコル
暗号
秘密鍵ファイル
公開鍵ファイル
SSH Ver.1 RSA ~/.ssh/identity ~/.ssh/identity.pub SSH Ver.2 DSA ~/.ssh/id_dsa ~/.ssh/id_dsa.pub RSA ~/.ssh/id_rsa ~/.ssh/id_rsa.pub
コマンド
% ssh-keygen -t type ※ type は、以下のとおり
type
プロトコル
rsa1 SSH 1 RSA dsa SSH 2 DSA rsa SSH 2 RSA
コマンド
% ./sshd option ※ option は、以下のとおり
option
動作
start 起動します stop 停止します restart 再起動します
コマンド
% ssh -L 1234:remotehost:23 remotehost ※ 受付ポート番号(1234)は、ユーザ設定が可能な(1025-65534)の番号を指定する