👩💻 | How to login to a server via SSH & VScode or Command Prompt
How to login to a server via SSH & VScode or Command Prompt
Install Visual Studio Code - code.visualstudio.com/download
Install the "Remote - SSH Extention"
Click the small blue icon down in the corner after installation has completed
Grab your servers IP and input it followed with root@ (If you don't have root access use the username given to you - Example: river@ip) you may also need to add a port, this can be done by prefixing the IP wih the port - Example: firstname.lastname@example.org:10025
You will want to click "Add new SSH host" to append it to a file for easy login next time!
Once you have added it as a host you will want to go to your command palette (CTRL + SHIFT + P) and type SSH until you find the "Remote-SSH: Open SSH configuration file"
Open the file with the file path
C: > Users > User > .ssh > config
You will need to edit the following lines to match
Press CTRL + S and go back to your little blue icon in the corner and connect to your server!
If you are still having issues or want to learn about SSH Keys please contact me on Discord: River#0003
Open Command Prompt
ssh user@ipIf you need to append a port use
ssh -p 10025 user@ip
Written by River
CEO @ AIO Tech Ltd
CEO @ Seven Seas Hosting