This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.thomasmaurer.ch/2018/04/hvc-ssh-direct-for-linux-vms-on-hyper-v/ | |
# https://patrickwu.space/2019/02/16/hyper-v-hvc-command/ | |
# Below working on Win 11 Pro 23H2 22631 | |
# Doesn't seem to like win32-openssh location (spaces in program files). Set the following env variable (System) | |
HV_SSH_COMMAND C:\Windows\System32\OpenSSH\ssh.exe | |
# No gui setting to add com port in gen 2 vm. Use the cmdlet when VM powered off | |
Set-VMComPort -VMName TestVM -Number 1 \\.\pipe\testvmpipe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## From https://github.com/microsoft/vscode-remote-release/issues/1688 | |
alias sudocode='SUDO_EDITOR="$(which code) --wait" sudoedit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Incoming: | |
IMAP | |
Server hostname: outlook.office365.com | |
Port: 993 | |
SSL: SSL/TLS | |
Authentication: Oauth2 | |
Outgoing: | |
Server hostname: smtp.office365.com | |
Port: 587 | |
SSL: STARTTLS |