代码改变世界

archlinux中启用sshd

2010-02-05 10:22  Jaypei  阅读(1999)  评论(0编辑  收藏  举报

编辑/etc/rc.conf,后面添加:

 

#enable sshd
sshd_enable="YES"

编辑/etc/hosts.allow,加入:

 

#enable sshd
sshd:192.168.0.*:ALLOW

最后启动sshd:

 

 

/etc/rc.d/sshd start