You cannot use ssh in default under ubuntu 11.10, and you can install and restart using follow command and
$sudo apt-get install openssh-server
note :
this command is install server ssh
$sudo /etc/init.d/ssh start
check sshserver status
ps -e | grep ssh
if display ssh-agent ,this is ssh-server isn't start.