Install SFTP Extension - JonathanHHenson/CS241 GitHub Wiki
Install SFTP Extension
- Go to the extensions tab and search for "sftp"
- Click on the first result and hit install
- Go to the project explorer tab, and click open folder. Make sure to open an empty folder on your computer
- Navigate to View -> Command Palette...
- Type "SFTP: Config" into the text field
- Edit the config to look like mine. Change the host, port, username, password and remotePath. The port must be 215. You may use any host in the range 157.201.194.201-210
- Save the config file
- Go to the SFTP Explorer. Then click on "BYU Linux Cloud" to expand it.
- Enter your password into the password prompt
Open SSH Terminal
- Go to the SFTP Explorer. Right click on "BYU Linux Cloud" and select "Open SSH in Terminal"
- The Terminal is now open. Type your password in the terminal to login
- You can use the Terminal to type in the commands you need to run, such as python3, testBed and submit.
Edit Files
- Before you can edit files, you need to download it locally. Do this by right-clicking on the file and selecting "Edit in Local"
- Now go to the project explorer and you can view and edit the files you have downloaded there.
- Any files you edit will automatically be synced to the Linux Server
Create Files
Any files you create in the project explorer will automatically be uploaded and synced to the Linux Server.
Deleting Files
- Delete the file from the project explorer
- Navigate to the SFTP Explorer. Right click on the file you want to delete, then select "Delete"