ALearner

  • 首页
  • Python
  • Linux
  • Java
  • 工具
  • 前端
  • 算法
  • My World
SSH
Linux

将亚马逊aws的ec2服务器的登陆方式改为密码登陆

1.在用密钥登陆ec2后,为root用户创建密码: sudo passwd root 系统会让你输入两次密码 2.切换为root用户,并且编辑sshd_config文件,PasswordAuthentication no,把no改成yes。使系统允许密码登陆 su root vim /etc/ssh/sshd_config 3.重启ssh服务 /etc/init.d/ssh restart ssh位置因系统而异 4.为原来的用户添加密码,我原来的用户是ubuntu passwd ubuntu 提示输入两次密码 &n…

2017年7月22日 0条评论 8379点热度 0人点赞 iquantumer 阅读全文
归档
  • 2023 年 10 月
  • 2020 年 10 月
  • 2020 年 7 月
  • 2019 年 4 月
  • 2019 年 2 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 8 月
  • 2018 年 6 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 9 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 5 月
分类
  • ApacheCalcite
  • clickhouse
  • Data Management
  • DeepLearning
  • Java
  • Linux
  • My World
  • ORM
  • Python
  • SpringMvc
  • 分布式服务架构
  • 前端设计
  • 大数据
  • 工具
  • 算法

COPYRIGHT © 2022 alearner.top. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

鲁ICP备16024047号