Community
Participate
Working Groups
Build Identifier: Version: 3.0.2 I cannot change the user that is used to unlock my SSH key. It is stuck on the same user that is used to log into the SSH account. In this case, my local user's name is allan, and my remote user's name is achappell. So I set up Xdebug to tunnel through ssh using achappell and no password, because I can use my key. My key is password protected, therefore, at this point I'm presented with a dialog that says "Passphrase for /home/allan/.ssh/id_rsa" with "achappell" in the username and nothing in the password. If I just type in my password (associated with the key) it fails. I assume this is because the user *should be* allan, which is my local user name. Suggested solutions: 1) make it where eclipse uses the current user's name, and no username is required to be entered. 2) make it so that the username is editable on this one dialog. Test Requirements: 1) a remote debugging server set up to allow access via ssh keys. Here's an HowTo: http://pkeck.myweb.uga.edu/ssh/ 2) your local private SSH key requires a password to use. 3) your local user name is different than the remote user name. Reproducible: Always Steps to Reproduce: 1) Navigate to Run->Debug Configurations 2) Click the "New Launch Configuration" above the left hand pane or right click and select "New" from the context menu. 3) Under the Server Tab, click "New" next to the "PHP Server" Dropdown 4) In the "PHP Server Creation" dialog Type a Name for the Server. 5) Type the base url to the remote server. 6) Click Next 7) Select a path mapping that fits the needs of your local filesystem and remote server 8) Click Finish. 9) Under the Advanced Tab, check "Debug Through SSH Tunnel" 10) Type in your user name to the remote server. 11) Click "Test Connection"
Created attachment 210134 [details] Screenshot of dialog in question
For anyone else having the problem, A good work around is to just go to command line and use the command ssh -R 9000:localhost:9000 user@server.com If you aren't planning on using the remote machine's command line prompt you can instead do the following ssh -N -R 9000:localhost:9000 user@server.com &