博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
oracle visualbox 的Ubuntu系统 安装 ssh操作 步骤
阅读量:7108 次
发布时间:2019-06-28

本文共 886 字,大约阅读时间需要 2 分钟。

1、首先安装 ssh server

sudo apt-get install openssh-server

2、安装完毕后,修改配置文件 /etc/ssh/sshd_config

gedit /etc/ssh/sshd_config

找到PermitRootLogin prohibit-password,加上#注释
在后边加上一句:PermitRootLogin yes,然后保存
重启服务: service sshd restart
3、以上操作后,ssh客户端仍然报错:algorithm negotiation failed
则继续修改 /etc/ssh/sshd_config 文件,在文件最后加入以下内容:

Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc

MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96,hmac-md5-96

KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org

注:以上操作可在Ubuntu 桌面下打开 浏览器查找后复制,否则内容不好从windows复制到 Ubuntu。

转载于:https://blog.51cto.com/imlearner/2336219

你可能感兴趣的文章
二逼平衡树 Tyvj 1730 BZOJ3196 Loj#106
查看>>
ORA-12541: TNS: 无监听程序 怎么解决
查看>>
自定义UIButton--iPhone按钮控件点击效果写法
查看>>
HDOJ_ACM_CUP
查看>>
陶哲轩实分析习题8.5.11
查看>>
软件工程随堂小作业——(C++)
查看>>
搭建个人专用的谷歌搜索镜像站---学习笔记
查看>>
三步轻松打造微信聊天机器人(附源码)
查看>>
11月24日学习内容整理:django基础,安装,创建项目,设置配置文件中的信息,简单的登录验证举例...
查看>>
expect和assert的联合用法,git删除本地和远端分支
查看>>
利用Handler延时机制实现点击两次退出程序
查看>>
suse11 oracle11g 安装 3
查看>>
模拟+位运算 HDOJ 5491 The Next
查看>>
ZOJ 3157 Weapon
查看>>
Luogu_3239 [HNOI2015]亚瑟王
查看>>
如何将两个列表变成一个python字典
查看>>
js math函数解释
查看>>
2018年7月28日笔记
查看>>
Implementing multi-level trees in MS SQL Server
查看>>
重温微积分1|散度定理的证明
查看>>