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 [email protected]
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
The authenticity of host '192.168.1.142 (192.168.1.142)' 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 '192.168.1.142' (ECDSA) to the list of known hosts.
[email protected]'s password:
Last login: Tue Jun 21 18:33:19 2011