how to use remote ssh vscode code example

Example 1: vs code ssh

Remote-SSH
#from here
https://marketplace.visualstudio.com/search?term=remote-ssh&target=VSCode&category=All%20categories&sortBy=Relevance

# in VS code setting
ctl+shift+p > search > remote-ssh: connect to host...
# give it ssh server address.
ssh [email protected], # hit enter > open config file then set your server detail like this
Host whatever_you_name_it
  	Port 0000
    HostName hostname address
    User username

now connect ssh server with password.
enjoy.
  
# Source
https://code.visualstudio.com/blogs/2019/10/03/remote-ssh-tips-and-tricks

Example 2: vscode remote ssh not connecting

# SSH into remote serve

$ rm -rf $HOME/.vscode-server