Prerequisites
Steps to reproduce
After creating SSH keypair for public key authentication successfully I wonder if I can user a SSH configuration file ~/.ssh/config?
Please note that I'm not talking about SSH Server configuration file sshd_conf.
This SSH configuration file could have this content:
Host remote-server
HostName remote-server
User d038783
IdentityFile C:\Users\Name\.ssh\id_ed25519
IdentitiesOnly yes
ForwardAgent no
PreferredAuthentications publickey
ControlPath C:\Users\Name\.ssh\cm-%r@%h:%p
ControlMaster auto
ControlPersist 10m
If SSH configuration file ~/.ssh/config is supported, are there any restrictions regarding SSH options?
And what is the correct syntax when using a path? / or \?
Environment data
Name Value
---- -----
PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
Prerequisites
Steps to reproduce
After creating SSH keypair for public key authentication successfully I wonder if I can user a SSH configuration file ~/.ssh/config?
Please note that I'm not talking about SSH Server configuration file sshd_conf.
This SSH configuration file could have this content:
If SSH configuration file ~/.ssh/config is supported, are there any restrictions regarding SSH options?
And what is the correct syntax when using a path?
/or\?Environment data
Version
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3