setup ssh cent-os

May 10, 2011

install the server and client

# yum -y install openssh-server openssh-clients

Start the service:

# chkconfig sshd on
# service sshd start

Make sure port 22 is opened:

# netstat -tulpn | grep :22

source: http://www.cyberciti.biz/faq/centos-ssh/