Atest

Atest

Index page

SSH免密码登录并设置别名的方法

  • Author: tony
  • Time: 2024-04-03
  • Category: 笔记

1.生成密钥“id_rsa.pub”

ssh-keygen

2.上传公钥到服务器“.ssh/authorized_keys” [核心内容]

ssh-copy-id [user@]hostname

3.创建别名

vim .ssh/config
Host
  HostName test
  User  root
  Port 22

Tag: none

Cancel the comment

Add a new comment.

  • 上一篇: 阿里云LNMP环境安装typecho时无法登陆后台上传附件翻页解决方法
  • 下一篇: Hik NVR串口刷机步骤

Recent posts

  • git clone 非标准ssh端口(22)怎么办
  • Linux 中文乱码 处理 (enca -L zh_CN -x utf-8 *)
  • Google 开源项目风格指南
  • 链栈实现(C++模板,构造析构,初始化列表)
  • SPI Nor Flash 分区解释
  • SSC377D_378DE_norflash_ubootenv
  • SigmaStar获取CPU温度命令
  • Gnome主目录中文转英文的方法
  • 2023年后黑色网线网口线序
  • 2022年黑色网线网口线序

Recent replies

Category

  • 笔记

Archive

  • December 2024
  • November 2024
  • August 2024
  • July 2024
  • June 2024
  • April 2024

Other

  • Login
  • RSS for posts
  • RSS for comments
  • Typecho
© 2026 Atest. 由 Typecho 强力驱动.