当前位置: 首页 > news >正文

Ubuntu安装和配置ssh教程

一般Ubuntu都会默认安装openssh-client,但是没有安装openssh-server。

安装ssh服务器

sudo apt install openssh-server

安装ssh客户端

sudo apt install openssh-client

 

 配置ssh客户端,去掉PasswordAuthentication yes前面的#号,保存退出

sudo vi /etc/ssh/ssh_config

配置ssh服务器,把PermitRootLogin prohibit-password改成PermitRootLogin yes,保存退出。

 

重启ssh服务

sudo /etc/init.d/ssh restart

 

http://www.xdnf.cn/news/823897.html

相关文章:

  • document.getElementById()方法使用
  • equalsIgnoreCase() 方法
  • 【软件开发流程】
  • OSPF协议详解
  • B/S结构和C/S结构详细介绍
  • HDU之算法初步
  • disruptor原理详解
  • 网安学途—SQL SERVER 2008安装教程
  • Apache Log4j2 详解 (一)
  • C语言——动态内存函数(malloc、calloc、realloc、free)
  • 【揭秘】ScheduledExecutorService全面解析
  • postfix(邮件服务器)说明与postconfig命令详解
  • 2025年5月TIOBE 指数头条:Python 统治世界!多家权威机构____编程语言排行榜__薪酬状况
  • User-Agent(用户代理)是什么?
  • CentOS7保姆级安装教程
  • Linux--Shell基础
  • 图床的千层套路
  • 【全面讲解 C 语言的结构体(struct),一网打尽】【转载】
  • Grok-1 :目前参数最大的开源大模型
  • Android反编译apk并重新编译
  • 句柄详解,什么是句柄?句柄有什么用?
  • jQuery-Ajax(详解)
  • LINQ详解(查询表达式)
  • fgets()函数的详解-使用技巧-C语言基础
  • 几种常用的排序方法——选择排序
  • Spring 中的 AOP 详解
  • 如何破解压缩包密码,CTF压缩包处理
  • Unity中Shader旋转矩阵(四维旋转矩阵)
  • Matlab下载安装详细教程
  • sin函数对照表_三角函数表值对照表格