ubuntu 14.04下scp传输文件出现ssh: connect to host ***port 22: Connection timed out
来源:互联网 发布:赌博庄家抽水算法 编辑:程序博客网 时间:2024/05/20 19:18
系统为ubuntu 14.04, 在准备通过scp指令将本地文件传输到服务器的时候出现ssh: connect to host * port 22: Connection timed out 的问题。讲解决过程记录如下:
- 首先输入ssh localhost 指令查看ssh是否安装和启动,结果发现connect to host localhost port 22:Connection refused。造成这个错误的原因有可能是ssh-server未安装或者未启动。
- 运行ps -e | grep ssh指令查看是否有sshd进程,发现
1977 ? 00:00:00 ssh-agent
没有sshd进程。 输入 sudo apt-get install openssh-server安装server,结果提示The following packages have unmet dependencies:
openssh-server: Depends: openssh-client (= = 1:6.6p1-2ubuntu1) but 1:5.3p1-3ubuntu5 is to be installed,依赖项不对,继续输入sudo apt-get install openssh-client= 1:6.6p1-2ubuntu1。依赖性安装完成后再次安装server,成功。
1 0
- ubuntu 14.04下scp传输文件出现ssh: connect to host ***port 22: Connection timed out
- ssh: connect to host IPADDR port 22: Connection timed out on ubuntu
- git clone时出现ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from
- localhost: ssh: connect to host localhost port 22: Connection timed out
- github连接报"ssh: connect to host github.com port 22: Connection timed out"错误
- 解决ssh-connect-to-host-github-com-port-22-connection-timed-out
- 解决ssh: connect to host 107.21.95.3 port 22: Connection timed out
- ssh: connect to host github.com port 22: Connection timed out
- 关于ssh: connect to host master port 22: Connection timed out问题的总结
- 【解决】ssh: connect to host slave port 22: Connection timed out的问题
- 关于ssh: connect to host master port 22: Connection timed out问题的总结
- 解决ssh-connect-to-host-github-com-port-22-connection-timed-out
- connect to host ssh.github.com port 22: Connection timed out解决方法
- 大数据【关于ssh: connect to host master port 22: Connection timed out问题的总结】
- hadoop搭建之ssh:connect to host XXXX port 22:Connection timed out!【问题】
- 解决ssh: connect to host gitlab.com port 22: Connection timed out
- scp 出现错误ssh: connect to host 9.123.159.41 port 22:connection refused的解决办法
- scp 出现 ssh : connect to host localhost port 22:Connection refused
- 神经网络与支持向量机的区别
- android java.lang.NoClassDefFoundError:xx.xx.xx
- 找到了ffmpeg的vs编码方法
- error: neither -p product specified nor ANDROID_PRODUCT_OUT set
- Android Sqlite数据库跨版本升级 保存之前数据
- ubuntu 14.04下scp传输文件出现ssh: connect to host ***port 22: Connection timed out
- LoadRunner字符串编码转换函数:lr_convert_string_encoding
- (十二)swift UIButton 九宫格
- SimpleDateFormat 日期格式转换
- android 修改键盘enter图标,设置搜索等图标
- Learning ROS for Robotics Programming Second Edition学习笔记(十) indigo Gazebo rviz slam navigation
- UISearchDisplayController和UISearchBar
- 最大乘积(Maximum Product,UVa11059)
- Tomcat下直接通过ip访问自己的项目