Use Notepad++ to edit files on VM

Very similar to the previous post on working with GoPiGo files. This example is for the Robotics Nanodegree VM on VirtualBox and VMWare.

1) Install openssh-server on the VM.

robond@udacity:~$ sudo apt-get install openssh-server

2-VMWare) Open a terminal in the VM and use ifconfig to find inet addr.

2-VirtualBox) Add a port forwarding rule in the Oracle VM VirtualBox Manager.

  1. Select the VM and click settings.
  2. Select Network and click Port Forwarding.
  3. Set new rule with the following values:

Screenshot 2017-07-22 23.36.04.png

3) Open Notepad++ and add NppFTP plugin if you don’t already have it.

  1. Plugins -> Plugin Manager -> Show Plugin Manager
  2. Find NppFTP and install it.

4) “Show NppFTP Window” in the Plugins dropdown.

5) Click the gear symbol and then “Profile settings”

6) Add a new profile. Call it “Robo-ND-VM” or any other name and edit the following fields (Use inet addr for Hostname on VMWare):

Hostname: 127.0.1.1   (or VMWare inet addr)
Connection type: SFTP
Port: 2222
Username: robond
Password: robo-nd (or your new password)

Screenshot 2017-07-22 23.42.22.png

7) Connect and click yes on the warning pop-up and you are ready to edit. You might need to chmod the file permissions on the VM first.