SSH远程连接Server

出自Centos

跳转到: 导航, 搜索

最新版本在安装的时候默认已经帮我们安装好SSH 服务器了,

[编辑] 制作不用密码可立即登入的 ssh 用户

[root@xingke ~]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
97:1c:e2:78:83:c7:ef:d9:bd:e6:75:d2:b3:58:db:9b root@xingke.dns0755.net
[root@xingke ~]#

个人工具