For details, see Vagrant: Working with Reproducible Development Environments. If the Current Vagrant option has been selected, the SSH Terminal will provide access to the currently running Vagrant virtual machine. If the Default remote interpreter option has been selected, the SSH terminal will provide access to the same host, where the default remote interpreter runs. Alternatively, invoke the Help | Find Action Ctrl+Shift+A dialog, search for start ssh., and select Start SSH Session.ĭepending on the connection settings, defined in on the Tools | SSH Terminal page of the Settings/Preferences dialog ( Ctrl+Alt+S), the following types of behavior are possible: If the desired SSH configuration does not appear in the list, click the Set up configurations link, and define one in the SSH Configurations page.įrom the Default encoding list, select the desired encoding to be used in the SSH terminal.įrom the main menu, choose Tools | Start SSH Session. Select SSH configuration on every run: if this option is selected, you will have to choose the desired configuration from the popup, every time you choose Tools | Start SSH Session from the main menu. SSH configuration: select this option to have the commands in the SSH Terminal executed on the local or remote Web server accessible through one of the SSH configurations. In the Connection settings area, appoint the destination environment:Ĭurrent Vagrant: select this option to have the commands in the SSH Terminal executed on the currently running Vagrant virtual machine.ĭefault remote interpreter: select this option to have commands in the SSH terminal executed on the same host, where the default remote interpreter runs. In the Settings/Preferences dialog ( Ctrl+Alt+S), go to Tools | SSH Terminal. See the Generating a new SSH key and adding it to the ssh-agent tutorial for details on working with SSH keys.Īppoint the destination environment and specify the settings to establish connection with it: Register an account on the SSH server in the destination environment and generate a pair of SSH keys or a password, depending on the server policy.
![open in terminal ssh open in terminal ssh](https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/git-bash.png)
Make sure an SSH server is available in the destination environment: a remote Web server or a Vagrant instance (virtual machine). By running commands in a dedicated SSH terminal, you can access data on a remote Web server or a Vagrant instance (virtual machine) via an SSH tunnel, mainly upload and download files.
![open in terminal ssh open in terminal ssh](https://wiki.physik.fu-berlin.de/it/_media/services:remote-access:ssh_terminal_window2.png)
You can launch an SSH Session right from PhpStorm.