SSH: Difference between revisions
→Client: save configuration for VSCode with VirtualBox |
→VSCode and VirtualBox: links |
||
| Line 90: | Line 90: | ||
=== VSCode and VirtualBox === | === VSCode and VirtualBox === | ||
When using VirtualBox to manage Linux VMs on your local Windows host, you can setup your SSH config file with a simple stanza to forward local connections on port 2222 to the SSH server on the VM like this. | When using [[VirtualBox]] to manage Linux VMs on your local Windows host, you can setup your SSH config file with a simple stanza to forward local connections on port 2222 to the SSH server on the VM like this. | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Host 127.0.0.1 | Host 127.0.0.1 | ||
| Line 98: | Line 98: | ||
IdentityFile C:/Users/greg/.ssh/id_ed25519 | IdentityFile C:/Users/greg/.ssh/id_ed25519 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
In this way, VSCode will be able to seamlessly connect to the VM, without prompting for a password every time. | In this way, [[VSCode]] will be able to seamlessly connect to the VM, without prompting for a password every time. | ||
== Fingerprints == | == Fingerprints == | ||