Difference between revisions of "Ssh client on windows"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement ``` # By default the ssh-agent service is disabled. Configure it to start automat...")
 
 
Line 1: Line 1:
 
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
 
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
 
```
 
```
 +
ssh-keygen -t ed25519 -C "foo@bar"
 +
 
# By default the ssh-agent service is disabled. Configure it to start automatically.
 
# By default the ssh-agent service is disabled. Configure it to start automatically.
 
# Make sure you're running as an Administrator.
 
# Make sure you're running as an Administrator.

Latest revision as of 15:41, 8 May 2023

https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement

ssh-keygen -t ed25519 -C "foo@bar"

# By default the ssh-agent service is disabled. Configure it to start automatically.
# Make sure you're running as an Administrator.
Get-Service ssh-agent | Set-Service -StartupType Automatic

# Start the service
Start-Service ssh-agent

# This should return a status of Running
Get-Service ssh-agent

# Now load your key files into ssh-agent
ssh-add $env:USERPROFILE\.ssh\id_ed25519