ssh安装使用
sudo yum –y install openssh-server
ssh-keygen –t dsa –P ‘’ –f ~/.ssh/id_dsa
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
sudo chkconfig --level 345 sshd on
sudo chkconfig --level 345 iptables off
sudo service sshd restart