[LINUX] Ssh to virtual environment with remote development of vscode

environment

Plugin

background

Setting method

  1. Install Remote Development Search for the extensions icon in vscode and install it.

  2. Check the ssh destination settings In the directory where you start vagrant

$ vagrant ssh-config

It is displayed like this

  Host "hostname"
  HostName 127.0.0.1
  User vagrant
  Port 2222
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile /Users/{USERNAME}/vagrant/ubuntu64_18/.vagrant/machines/default/virtualbox/private_key
  IdentitiesOnly yes
  LogLevel FATAL
  1. Describe the result of outputting the settings to ssh
$ vagrant ssh-config >> ~/.ssh/config
  1. Try connecting with vscode Click `> <``` displayed at the bottom left of the screen or Remote-SSH: Connect to Host `` in the command palette Select the host name of the connection destination and the connection is completed. It can be done in 5 minutes, so it's easy, so I recommend it (´_ ゝ `)

Recommended Posts

Ssh to virtual environment with remote development of vscode
Build a comfortable development environment with VSCode x Remote Development x Pipenv
[5 steps] Apply anaconda virtual environment to VScode
Add a Python virtual environment to VSCode
Environment construction with VSCode + Remote Container (Go / Application)
Flow of creating a virtual environment with Anaconda
From Python environment construction to virtual environment construction with anaconda
Procedure to set hydrogen of atom (virtual environment)
Virtual environment with Python 3.6
QGIS3 Python plugin development environment construction with VSCode (macOS)
Example of pytest environment to fix database with Docker
How to set the development environment for each project with VSCode + Python extension + Miniconda
Switch virtual environment with jupyter
Switch the setting value of setting.py according to the development environment
Unify the environment of the Python development team starting with Poetry
Build a Go development environment with VS Code's Remote Containers
How to develop in a virtual environment of Python [Memo]
I want to use a virtual environment with jupyter notebook!
How to build a python2.7 series development environment with Vagrant
Create a simple Python development environment with VSCode & Docker Desktop
How to get into the python development environment with Vagrant
Overview of Python virtual environment and how to create it
Activate Anaconda's virtual environment with PowerShell
Steps to develop Django with VSCode
Example of building python development environment on windows (wsl2, vscode, pipenv)
Web application created with Python + Flask (using VScode) # 1-Virtual environment construction-
Build python virtual environment with virtualenv
PATH when using ANACONDA virtual environment with Pycharm (as of Mac 2020/10/03)
Create a virtual environment with Python!
How to debug Dash (Flask) in Docker + VSCode + remote connection environment
Integrated Development Environment (IDE) vs. Virtual environment
Building a virtual environment with Python 3
Automation of remote operations with Fabric
After creating and applying a virtual environment of python3.8.0, code completion did not work with vscode
Prepare Python development environment with Atom
Operation memo of Conda virtual environment
How to set up the development environment of ev3dev [Windows version]
Rebuild Django's development environment with Docker! !! !! !!
Supplement to the explanation of vscode
Prepare the development environment with anyenv
Comfortable Jupyter Lab (Python) analysis environment created with Docker + VSCode + Remote Container
Unable to import packages installed in virtual environment with Anaconda on Windows 10
Steps to create a Python virtual environment with VS Code on Windows
VitrualBox allows remote display of virtual host to be referenced from RDP
I tried to build a Mac Python development environment with pythonz + direnv
Summary of how to build a LAMP + Wordpress environment with Sakura VPS
Addition of local development environment on MacOS
Easily build a development environment with Laragon
[Development environment] Python with Xcode [With screen transition]
About the virtual environment of python version 3.7
[Python] Create a virtual environment with Anaconda
Effortlessly vscode + venv virtual environment (Windows) memo
Python3 + venv + VSCode + macOS development environment construction
Create a virtual environment with Python_Mac version
Connect to GNU / Linux with Remote Desktop
Try to prepare each environment of kivy
Automatically switch virtual environment with conda + direnv
Construction of development environment for Choreonoid class
[ev3dev × Python] SSH Control (remote control with keyboard)
Cross-compiling Raspberry Pi and building a remote debugging development environment with VS Code
When I tried to create a virtual environment with Python, it didn't work