最終更新:2018-05-25 (金) 21:57:12 (2163d)  

SSH
Top / SSH

Secure SHell

http://www.jp.ssh.com/products/ssh_secure_shell/

SSH/バージョン?

  • SSH-1?1995ssh.comの人
    SSH-2?2006

RFC

  • RFC 4250?The Secure Shell (SSH) Protocol Assigned NumbersSSHプロトコルで使用される番号や文字列について規定されている。
    RFC 4251?The Secure Shell (SSH) Protocol ArchitectureSSHプロトコル全般(暗号アルゴリズムやキーなど)について規定されている。
    RFC 4252?The Secure Shell (SSH) Authentication Protocolユーザ認証(パスワード認証や公開鍵認証)について規定されている。
    RFC 4253?The Secure Shell (SSH) Transport Layer Protocolトランスポート層について規定されている。
    RFC 4254?The Secure Shell (SSH) Connection Protocolチャネル制御やポートフォワーディングについて規定されている。
    RFC 4255?Using DNS to Securely Publish Secure Shell (SSH) Key FingerprintsSSH鍵の指紋を発行するためのDNS利用について規定されている。
    RFC 4256?Generic Message Exchange Authentication for the Secure Shell Protocolユーザ認証のメッセージ交換について規定されている。

鍵ファイル

鍵の形式

のがある感じ。PuTTY同梱のPuTTYgenで変換できる。

暗号化方式

  • DSA (SSH2のみ) - ssh-keygen -t dsa
    • id_dsa?
    • id_dsa.pub?
  • RSA1 - ssh-keygen -t rsa1
    • identity?

authorized_keys

  • サーバの .ssh/ にパーミッション0600で設置する

設定

関連コマンド

SSH/クライアント

関連

参考

SSH力をつけよう from (^-^) togakushi

ダイナミック転送