一、关于 ssh 的好处, 相信不用我多说了吧?简而言之, 之前的 rpc command 与 telnet 都全可用 ssh 代替.比方如下的这些常见功能:
1、远程登录
ssh user@remote.machine
2、远程执行
ssh user@remote.machine 'command ...'
3、远程复制
scp user@remote.machine:/remote/path /local/path
二、其他
1、ssh互信(省略);
2、ssh禁止 root 登录
# vi /etc/ssh/sshd_config
PermitRootLogin no