Bug 473884 - Using "Open Terminal" command from Remote Systems prompts for password every time
Summary: Using "Open Terminal" command from Remote Systems prompts for password every ...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: terminal (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2015-07-30 01:43 EDT by Jérémy T. CLA
Modified: 2020-09-04 15:12 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jérémy T. CLA 2015-07-30 01:43:53 EDT
Using:  
Eclipse Platform 4.6.0.I20150728-0800
TM Terminal 4.0.0.201506040610
TM Terminal via Remote API Connector Extensions 4.0.0.201506040610
TM Terminal View Remote System Explorer add-in	4.0.0.201506040610

When right clicking a folder within the Remote Systems view, under a SSH connection, the "Open Terminal" command:
- prompts for user/password instead of passing the data over from the actual remote connection (which is set to be remembered and never prompts anymore),
- prompts again for password every single time I use the command, 
- does not go to directory I right clicked on.

Am I missing something here? Using what I think was the RSE Terminals UI (which is now deprecated) provided a far better integration last time I used it.

Thank you in advance
Comment 1 Jérémy T. CLA 2015-08-10 17:21:41 EDT
Any news or suggestions?

For now I switched back to the deprecated "RSE Terminals UI" feature which still works flawlessly.

Apparently, the faulty feature is the following:
TM Terminal View Remote System Explorer add-in (4.0.0.201506040610)

It does provide a menu entry to open the terminal from the Remote Systems Explorer view, but doesn't pass over any connection data from the SSH connections, making it useless.

Unless I'm missing something that is.
Comment 2 Jérémy T. CLA 2016-11-27 16:22:42 EST
Bumping this bug, as it's obviously the same as #478419 and is still happening on a fresh Eclipse 4.1 install and its associated TM 4.1.

A bit sad that the deprecated RSE Terminals UI is still a lot more reliable/effective after all this time.
Comment 3 Martin Oberhuber CLA 2016-11-28 04:14:28 EST
Hi Jeremy, you are right that the older RSE Terminal View is still better integrated with RSE's remote file system tree.

It was deprecated since there were concerns that too many terminal views would confuse users. But, as you found out, the old terminals view still works OK while the replacement plugin is still very incomplete - it doesn't pass over credentials nor the selected remote folder.

We'd appreciate contributions improving this. The code change shouldn't be very hard, and would be around here:
http://git.eclipse.org/c/tm/org.eclipse.tm.terminal.git/tree/plugins/org.eclipse.tm.terminal.view.ui.rse/src/org/eclipse/tm/terminal/view/ui/rse/internal/LaunchTerminalHandler.java
Comment 4 Jérémy T. CLA 2016-11-28 14:29:23 EST
Hello Martin, 

Thank you for your reply. Indeed, switching to the old plugin works fine for now, it's just that TCF also brings nice functionality such as the "Show in Local Terminal" on the Project Explorer view, and having both at the same time is a bit of a shame (different Terminal views as you mentioned, duplicate menu entries, etc.)

I haven't ever tried working on Eclipse plugins myself as I'm a simple user of the platform at the moment, but I will give it a try if I find some time (I guess I'll start by getting the PDE tooling).
Comment 5 Jonah Graham CLA 2020-05-01 10:10:05 EDT
The Terminal component of the Eclipse Ecosystem has a new home. The Terminal is now part of the Eclipse CDT project[1].

This change means a new Git repo[2], P2 site[3] and Bugzilla component. The terminal will continue to be delivered as part of the quarterly Simultaneous Release of Eclipse as well.

The marketplace entry[4] had not been updated in a few years. It will once again install the latest release of the terminal on the latest release of the whole IDE (currently 2020-03).

If this bug is no longer relevant, please feel free to comment or close the bug. If you can confirm if this issues still occurs in the latest release please do let me know in a comment.

[1] https://wiki.eclipse.org/CDT/User/NewIn911
[2] https://git.eclipse.org/c/cdt/org.eclipse.cdt.git (in the terminal directory)
[3] current release is 9.11 - P2 site https://download.eclipse.org/tools/cdt/releases/9.11/
[4] https://marketplace.eclipse.org/content/tm-terminal

(This comment was added to all open terminal bugs along with changing the Product/component pair to CDT/terminal.)