secureCRT The remote system refused the connection.
来源:互联网 发布:淘宝打折工具哪个好 编辑:程序博客网 时间:2024/05/23 22:34
http://hi.baidu.com/756091339/item/d2e11ddee3e797ed3dc2cb88
sudo apt-get install openssh-server
Ubuntu缺省安装了openssh-client,所以在这里就不安装了,如果你的系统没有安装的话,再用apt-get安装上即可。
然后确认sshserver是否启动了:
ps -e |grep ssh
如果只有ssh-agent那ssh-server还没有启动,需要/etc/init.d/ssh start,如果看到sshd那说明ssh-server已经启动了。
ssh-server配置文件位于/ etc/ssh/sshd_config,在这里可以定义SSH的服务端口,默认端口是22,你可以自己定义成其他端口号,如222。然后重启SSH服务:
sudo /etc/init.d/ssh resar
ssh连接:ssh linuxidc@192.168.1.1
1. 首先在服务器上安装ssh的服务器端。
$ sudo aptitude install openssh-server
2. 启动ssh-server。
$ /etc/init.d/ssh restart
3. 确认ssh-server已经正常工作。
$ netstat -tlp
tcp6 0 0 *:ssh *:* LISTEN -
看到上面这一行输出说明ssh-server已经在运行了。
4. 在客户端通过ssh登录服务器。假设服务器的IP地址是192.168.0.103,登录的用户名是hyx。
$ ssh -l hyx 192.168.0.103
接下来会提示输入密码,然后就能成功登录到服务器上了
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection
- secureCRT报错 The remote system refused the connection.
- secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT The remote system refused the connection问题解决
- 电源设计中的电容应用实例
- 文凭是神马(转)
- c# vs2012 打包应用程序(创建部署/安装包)
- GUID——来自百度
- 树莓派开始——无显示器情况下的无线网络配置【for_wind】
- secureCRT The remote system refused the connection.
- 创建.url快捷方式
- Windows和Linux环境下Memcached安装与配置
- Android自动化测试之MonkeyRunner-之getProperty、getSystemProperty(十三)
- QSettings使用笔记
- libcurl sendmail
- 暴雪的哈希算法
- 对技术的态度
- sharepoint 2010 页面刷新时滚动条位置保持不变 Controlling scrollbar position on postback