一、使用OpenSSH远程管理Linux服务器

sshd是OpenSSH的服务器端守护进程,与之对应的Windows下客户端软件有SecureCRT/Xshell/PuTTY等。

OpenSSH一般为默认安装在Linux系统中,安装目录为/etc/ssh。对应的服务器配置文件为/etc/ssh/sshd_config,配置文件中各选项的含义如下:

使用OpenSSH远程管理Linux服务器

使用OpenSSH远程管理Linux服务器

对sshd_config文件配置完毕,重启sshd守护进程,使修改生效(命令为:systemctl restart sshd);

最后一步是设置sshd服务开机自动启动,执行如下命令:systemctl enable sshd



转载于:https://blog.51cto.com/huguangqin2015/1941610

相关文章:

  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2021-05-14
  • 2021-12-28
  • 2021-09-10
  • 2021-04-30
  • 2022-12-23
猜你喜欢
  • 2021-10-12
  • 2021-05-10
  • 2021-07-16
  • 2022-02-08
  • 2021-12-14
  • 2021-11-25
  • 2021-05-01
相关资源
相似解决方案