---
title: "linux ssh 免密码登录"
author: "tycomputer"
date: "2014-12-17T09:36:16Z"
tags: []
categories: ["开源软件"]
slug: "linux-ssh"
draft: false
lastmod: "2014-12-17T09:36:16Z"
id: 2166921
url: "https://tycomputer.iteye.com/blog/2166921"
---

命令：
ssh-keygen -t rsa -P ""

cat .ssh/id_rsa.pub << .ssh/authorized_keys

验证：ssh localhost