Search code examples
phpstorm

Save SSH session in PhpStorm


Does anyone know how to save SSH session details in PhpStorm, so its just there when I open my project up? I love PhpStorm but its the only thing it doesn't seem to do, is it not an option or do I have to enable something?

Every time I want to do command line stuff I have to got to Tools > Start SSH session and the next dropdown is always "edit credentials" but I would like to save this so I don't have to enter my details each time.

enter image description here


Solution

  • Go to PHPStorm Settings > Search for 'Deployment' > Click on Add sign and follow the steps.

    Once done, don't forget to 'Test sFTP Connection' if you are using SFTP. Then in Tools > Start SSH Session you will see your saved session.

    Enjoy!!