ubuntu 的ssh连接问题,连接不上Xshell

Ubuntu 安装有ssh,并且启动了,防火墙也关了,就是连接不上Xshell。
一直报Connecting to 127.0.0.1 22
Could not connect to '127.0.0.1' (port 22): Connection failed.

Type `help' to learn how to use Xshell prompt.
这样的错误,求解。

xshell不是个连接工具吗,你ubuntu连xshell? ssh分客户端和服务端看看有没有装错