An SSH Guide

Set up SSH Login With Private Key On Windows Requirement: Install OpenSSH. Please follow the instruction of this page Change the directory to the main directory(EX: C:\Users\{USERNAME}) Step1: Generate SSH Key Pair 1 ssh-keygen -t rsa -f ".\.ssh\{FILE NAME OF KEY}" Step2: Create SSH Folder 1 ssh {LOGIN USERNAME ON THE TARGET HOST}@{TARGET HOST NAME/IP} mkdir -p .ssh Step3: Copy SSH Public Key To The Remote Host 1 cat ".\.ssh\{FILE NAME OF KEY}....

October 7, 2022 · 4 min · SY Chou