---
title: "Arch Linux安装ssh"
author: "zfree"
date: "2009-01-11T15:44:30Z"
tags: ["Linux", "SSH"]
slug: "arch-linux-ssh"
draft: false
lastmod: "2009-01-11T15:44:30Z"
id: 314677
url: "https://zfree.iteye.com/blog/314677"
---

**setp 1 install ssh**

pacman -S openssh

 

**step 2 config ssh**  
#vi /etc/hosts.allow  
sshd:all 增加此行  
#vi /etc/ssh/sshd\_config  
Protocol 2 增加此行  
#vi /etc/rc.conf  
DAEMONS=(syslog-ng sshd !hotplug !pcmcia network netfs crond) 修改这行加入ssh，系统会自动启动ssh

 

**step3 run ssh**

#/etc/rc.d/sshd start 就run起來了