当我尝试通过SSH访问服务器时,它显示:
在服务器上的
ssh: connect to host xx.yyy.zzz.x port 22: Connection refused
在服务器上的
auth.log
中显示以下日志条目:Address xx.yyy.zzz.x maps to xx.yyy.zzz.x.static-pune-vsnl.net.in, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
我已为该用户创建了一个用户账户,并且它也处于启用状态。
所请求的信息
- 这是Ubuntu 11.10
- 它被配置为使用openssh-server作为SSH服务器
- 我正在尝试使用Windows 7上的Putty连接到此服务器,即我的桌面
- 我还根据@zpletan的要求在superuser上提出了这个问题,下面是那个问题的链接。
https://superuser.com/questions/408080/unable-to-access-the-server-via-ssh
提前感谢。
openssh-server
软件包?你的服务器运行的是 Ubuntu 吗?(如果不是的话,请到 http://superuser.com 提问。)它是一个网络服务器还是内部服务器?你尝试过在你连接的那台电脑上删除 ~/.ssh 文件夹吗? - zpletansudo ufw allow 22
或者sudo ufw allow ssh
信息 -> https://help.ubuntu.com/community/UFW 然后再尝试连接... - hhlp