Configuring SFTP on PHPStorm with Vagrant
Posted 8 years ago
- updated 8 years ago
phpstorm
sftp
How to SFTP from a local machine into your Vagrant box (an alternative to directory syncing)
Go to >Prefences->Deployment...
- Add a name
- Set type to 'SFTP'
- Set host
- Set port
- set root Path
- set username
- set auth type to 'key pair'
- Use vagrant private key which will either be..
- Set the web server root url
- Click on 'Deployment' arrow and select Options
- Set Upload changed files... to On Explicit Save Action
Test
Save a file and you should see the following window: