官术网_书友最值得收藏!

Setup password-less ssh

Now check if you can ssh to the localhost without a passphrase by running a simple command, shown as follows:

$ ssh localhost

If you cannot ssh to localhost without a passphrase, execute the following commands:

$ ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
$ chmod 0600 ~/.ssh/authorized_keys
主站蜘蛛池模板: 东源县| 昔阳县| 南昌市| 晋宁县| 新竹县| 阿克陶县| 滦南县| 吴堡县| 宁强县| 石泉县| 巢湖市| 施秉县| 巨野县| 兴城市| 买车| 讷河市| 正安县| 鄂伦春自治旗| 溧水县| 吴旗县| 精河县| 延川县| 永州市| 祁阳县| 集贤县| 宿州市| 曲沃县| 库车县| 中方县| 白山市| 汉源县| 邳州市| 尼木县| 尉犁县| 霍城县| 依安县| 平远县| 常德市| 师宗县| 巩义市| 平顶山市|