新安装的ubuntu系统,securtCRT连接失败,出现下面结果,这是因为ubuntu没有安装工具。

The remote system refused the connection.

 

解决办法:

1、安装 ssh

$ sudo apt-get install ssh

 

2、安装 ssh 服务端

$ sudo apt-get install openssh-server

 

3、安装 ssh 客户端

$ sudo apt-get install openssh-client

 

4、重新启动 ssh

$ sudo /etc/init.d/ssh restart

 

 5、确认 ssh 已启动

$ netstat -tlp

有下面一行表示 ssh 已启动

tcp6    0    0 [::]:ssh    [::]:*    LISTEN    -

 

6、获取当前 IP 地址

$ ifconfig eth0

 

此时可以用获取到的 IP 在secureCRT中进行连接。

相关文章:

  • 2021-09-28
  • 2021-07-27
  • 2022-12-23
  • 2021-06-23
  • 2022-01-27
  • 2021-10-31
  • 2021-09-29
猜你喜欢
  • 2022-02-01
  • 2022-12-23
  • 2021-12-14
  • 2021-12-26
  • 2021-08-09
  • 2021-08-05
  • 2021-09-07
相关资源
相似解决方案