跳至主要內容

Ran

標籤彙整: SSH

Linux – 使用 SSH 登入

使用 puttygen 產生 4096 bits 的 public/private key
mkdir ~/.ssh
chmod 0700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 0644 ~/.ssh/authorized_keys
sudo vi ~/.ssh/authorized_keys
sudo vi /etc/ssh/sshd_config
[...]
PasswordAuthentication no
[...]
UsePAM no
[...]
systemctl restart sshd
作者:Ran2017-08-082020-04-18分類:未分類標籤:Linux、SSH在〈Linux – 使用 SSH 登入〉發佈留言

近期文章

  • Support unicode filename in Octobercms Media Manager
  • Laravel Local & Production
  • puppeteer – screenshot.js
  • List all variables inside a Laravel blade
  • How to Get the Size of a Table in MySQL

分類

  • Laravel
  • 未分類

標籤

403 Apache bridge CentOS docker formnovalidate host host.docker.internal HTML iFrame Javascript jQuery Laradock Laravel Linux network-mode Nginx PATHINFO_BASENAME RWD SSH Swap viewport windows YouTube Player API
Ran, 本站採用 WordPress 建置