+1-323-909-4740 blog@hegars.com

Microsoft Powershell on Linux

https://aka.ms/pscore6 https://aka.ms/pscore6-docs # Install system components sudo apt-get update sudo apt-get install curl gnupg apt-transport-https # Import the public repository GPG keys curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add...

OpenSSH for Windows 10

  Enable it in Windows Options.   Setting Bash as the default shell New-ItemProperty -Path “HKLM:\SOFTWARE\OpenSSH” -Name DefaultShell -Value “C:\Windows\System32\bash.exe” -PropertyType String -Force...

YubiKey PIV Manager

Importing a SSH key to the PIV smartcard. https://developers.yubico.com/PIV/Guides/SSH_with_PIV_and_PKCS11.html PS C:\Program Files (x86)\Yubico\YubiKey PIV Manager> .\yubico-piv-tool.exe -a import-key -s 9a -i hegars.key.pem -k Enter management key: Successfully...

VPN Windows Split Tunnel

Running a VPN server via RADIUS that can not send framed routes so had to manually setup split tunnels, so in windows 10 Powershell ROUTE add Set-VpnConnection -ConnectionName "vpn.host.net" -SplitTunneling 1 Add-VpnConnectionRoute -ConnectionName "vpn.host.net"...