Software Installation for enabling Default SSH on Windows Laptop
Step1: Enable SSH on Powershell.
Click –> Settings –>Update & Security –> For Developers –> Update to Developer Mode
Step2: Update Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU — UseWUServer to 1
Step3: Goto Settings –> Apps –> Optional Settings link –> Add Feature –> OpenSSH — Install
Step4: Reboot the laptop
Step 5: Click Windows + X and select the powershell
Commands:
- Set-Item -Path env:VAULT_ADDR -Value “https://vault.aws.*.com”
- vault login -method=ldap username=<>
- By logging into the AWS console identify the IP you want to login
- Makesure you have centosaccess on vault.
- vault write ssh/creds/centosaccess ip=<IP>
- This will print a key which is your passcode
- ssh centos@<IP>