Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 862 Bytes

File metadata and controls

15 lines (12 loc) · 862 Bytes

Set up a remote SSH session in Visual Studio Code. Create the SSH configuration file. On the left sidebar, click the icon that looks like a computer with a connection icon.

In the Remote Explorer, hover your mouse cursor over SSH, click on the gear icon (⚙️) in the top right corner, and select the top option: C:\Users\tekstudent.ssh\config This will open the SSH configuration file in a new editor tab.

Add the SSH configuration for the lab servers. Add the following lines to the SSH configuration file, replacing with the actual IP address of your Tower.

Host tower HostName IdentityFile "C:\Users\tekstudent\Downloads\repos\automation-dev\keys\lab.pem" User ansible Save the SSH configuration file. Save the changes to the SSH configuration file and close it.