ssh-1.2.22のinstall (98/02/07) 1) ssh-1.2.22.tar.gzの展開、make、install $ tar zxvf ssh-1.2.22.tar.gz -C ~/src $ cd ~/src/ssh-1.2.22 $ ./configure --with-rsh=/usr/bin/rsh --program-transform-name='s/^s/r/' $ make $ su # make install 2) sshdを立ち上げる # /usr/local/sbin/sshd # cd /etc/rc.d # vi rc.local if [ -f /usr/local/sbin/sshd ]; then /usr/local/sbin/sshd fi を追加。 3) /etc/inetd.confを書き換える # vi inetd.conf comsat dgram udp wait root /usr/sbin/tcpd in.comsat shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L login stream tcp nowait root /usr/sbin/tcpd in.rlogind ntalk dgram udp wait root /usr/sbin/tcpd in.talkd imap2 stream tcp nowait root /usr/sbin/tcpd imapd finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a をコメントする。 # ps aux | grep inetd # kill -HUP 4) .sshを作る # exit $ ssh-keygen