最近弄了台linux云服务器,然而每次登陆linux都好麻烦,所以倒腾了下ssh无密登陆. linux:centos 6.5,自带ssh mac:yosemite,自带ssh 步骤: 1. 创建key ➜ .ssh ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/yinkw/.ssh/id_rsa): <--直接回车 Enter passph…
cat /proc/versionLinux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015 Linux version 2.6.32-642.6.2.el6.x86_64 (mockbuild@worker1.bsys.centos.or…