2013/3
WWW, 研究室, SNS, WWW の予備について。
tar xzf zlib-1.2.7.tar.gz cd zlib-1.2.7 ./configure make sudo make install |
tar xzf openssl-1.0.1e.tar.gz cd openssl-1.0.1e config make make test sudo make install |
tar xzf openssh-6.1p1.tar.gz cd openssh-6.1p1 ./configure --with-md5-passwords --with-tcp-wrappers \ --with-md5-passwords --with-pamZZ make sudo make install |
cd /etc/init.d vi sshd |
-bash-3.00$ diff sshd.old sshd 25,29c25,34 < KEYGEN=/usr/bin/ssh-keygen < SSHD=/usr/sbin/sshd < RSA1_KEY=/etc/ssh/ssh_host_key < RSA_KEY=/etc/ssh/ssh_host_rsa_key < DSA_KEY=/etc/ssh/ssh_host_dsa_key --- > #KEYGEN=/usr/bin/ssh-keygen > KEYGEN=/usr/local/bin/ssh-keygen > #SSHD=/usr/sbin/sshd > SSHD=/usr/local/sbin/sshd > #RSA1_KEY=/etc/ssh/ssh_host_key > RSA1_KEY=/usr/local/etc/ssh_host_key > #RSA_KEY=/etc/ssh/ssh_host_rsa_key > RSA_KEY=/usr/local/etc/ssh_host_rsa_key > #DSA_KEY=/etc/ssh/ssh_host_dsa_key > DSA_KEY=/usr/local/etc/ssh_host_dsa_key -bash-3.00$ |
sudo service sshd restart |
ところで注意事項。