上の書き方からして RSA しか念頭になかったんでしょうが、そうだと しても P と Q だけならともかく、D mod (P-1) や D mod (Q-1)、さ らには Q^(-1) mod P まで保存されているので、これらを指して『両 方の鍵を生成するのに必要な数値』と言ってしまっては全然厳密じゃ ないでしょう。
.bashrc --------------------------------------------------- # 関数 sshon1: 鍵がまだ追加されてなければ追加する。 function sshon1 { if [ ! "$SSH_AUTH_SOCK" ]; then echo 'SSH_AUTH_SOCK is not set.'; return 1; fi if ! (ssh-add -l 2>&1 | grep '(RSA1)'); then ssh-add ~/.ssh/identity; fi } # ssh1: エージェントに鍵がなければ、鍵を追加してから ssh 実行。 function ssh1 { sshon1 && command ssh $*; }
> Using XDMCP is inherently insecure, therefore, most of the > distributions shipped as it's XDMCP default turned off. If you > must use XDMCP, be sure to use it only in a trusted networks, > such as corporate network within a firewall. Unfortunately, > XDMCP uses UDP, not TCP, therefore, it is not natively able to > use it with SSH. To secure the connection with SSH, the > technique is called X11 TCP/IP Port Forwarding.