0%

系统:Debian

  1. 请将公钥 .pub文件放到服务器上
  2. 客户端使用私钥文件连接服务器
  3. 密钥位置:./.ssh/_key
  4. 配置一下内容:
    • ​ 禁止密码登录
    • ​ 开启密钥登录
    • ​ 密钥位置
  5. 配置文件所在位置:/etc/ssh/sshd_config
  6. 重新启动sshd进程:systemctl restart sshd

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment