- start vagrant using vagrant up
- start notepad++
- open the NppFTP plugin from the plugins menu.
- click on the setup gear and choose 'profile settings'
- click on the add new profile button
- give it a good name and click OK
- click on the connection tag
- enter the ssh port number your vagrant box is using, it'll be 2222 or a variant of that.
- enter these parameters:
- hostname: 127.0.0.1
- connection type: SFTP
- username: vagrant
- uncheck 'ask for password'
- click on the Authentication tab
- check 'Try private key file authentication'
- click the '...' next to the 'Private key file' edit box.
- navigate in the file dialog to your Vagrant box location
- select this file: '.vagrant\machines\default\virtualbox\private_key'
- uncheck 'ask every time'
- click close
That should setup the connection. Try it out by using the icon. Click on the icon to see the log of NppFTP connection attempts.
That worked for me, thank you.
ReplyDelete