获取远程服务器日期
1.实现免密码登录(ssh远程客户端)
通过命令”ssh-keygen-trsa“
Generatingpublic/privatersakeypair.
Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):回车
Enterpassphrase(emptyfornopassphrase):回车
Entersamepassphraseagain:回车
Youridentificationhasbeensavedin/root/.ssh/id_rsa.
Yourpublickeyhasbeen