How to install openssh in Archlinux

Question: How  to install Openssh  in Archlinux ?


1- First installl  the  packages  from pacman

pacman -Sy openssh

2- Start openssh  daemon  with:

rc.d start  sshd 
:: Starting Secure Shell Daemon                                                   [DONE] 

3- Make  sshd  start with  the  computer

add  sshd  to DEAMONS  under /etc/rc.conf

DAEMONS=(syslog-ng network  netfs dbus gdm sshd crond)

You  cannot  connect  with the  normal way?

ssh  root@
ssh_exchange_identification: Connection closed by remote host

you  have  to  add this  first to allow  every one to  connect via  ssh

echo 'SSHD: ALL' >> /etc/hosts.allow

Then  you can connect  finally

ssh  root@
The authenticity of host ' (' can't be established.
ECDSA key fingerprint is 7c:18:34:25:af:ac:97:92:cb:72:5f:4b:07:57:25:de.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '' (ECDSA) to the list of known hosts.
root@'s password: 
Last login: Tue Jun 21 18:33:19 2011
[root@myhost ~]# 
  • rizanoar

    Look The Title, Is Wrong…… Archlnux?

  • Zinovsky

    Corrected. Thanks a lot.