Rock YouTube channel with real views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

Windows Terminal SSH Public Key Authentication

Follow
William Campbell

How to setup a public/private key pair in Windows Terminal for secure shell.

Also see related videos:
Install and configure Windows Terminal:    • Windows Terminal Install and Configure  
Windows SSH Server Public Key Authentication:    • SSH To Windows Using Public Key  

Commands to copy and paste:

Linux:


mkdir .ssh

chmod 700 .ssh

chmod 700 authorized_keys

rm id_rsa.pub

sudo nano /etc/ssh/sshd_config

sudo systemctl restart ssh


Windows:


sshkeygen b 4096

( update below with your [user folder], [user], and [host] )
scp C:\Users\[user folder]\.ssh\id_rsa.pub [user]@[host]:~/.ssh

posted by aphanson040527