VSCode for Remote development (vlog) | IT and DevOps Career Secrets
In this video I walk through how to setup vscode for a remote development environment. This is really useful when managing linux systems using ansible on a remote ansible server, working with shell scripts, python, or any other programming language where it's going to run on a remote linux system.
1. Run the following command as administrator in powershell:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
2. When it’s finished installing, close the powershell window and re-open it again as administrator
3. Run the following command to install vscode: choco install -y vscode vscode-python vscode-powershell openssh python3 git chromium postman
4. Run the following commands:
ssh-keygen (accept all defaults and leave password blank)
cp ~\.ssh\id_rsa.pub ~\.ssh\authorized_keys
scp -r ~\.ssh root@rhel1:
ssh root@rhel1 "chmod -R 600 .ssh"
ssh root@rhel1 "echo worked"
--------------------------------------------------
For training info: https://nicholasbernstein.com/training/
https://www.patreon.com/TheNickBernsteinShow
twitter: @nickbernstein
videos on lbry.io: https://open.lbry.io/@nicktrains:b/
Mastadon.social: @nickbernstein@mastodon.social
Видео VSCode for Remote development (vlog) | IT and DevOps Career Secrets автора Современный JavaScript
Видео VSCode for Remote development (vlog) | IT and DevOps Career Secrets автора Современный JavaScript
Информация
4 декабря 2023 г. 17:22:17
00:19:05
Похожие видео