Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Set password for SSH connection
Set password for SSH connection [message #583076] Mon, 22 February 2010 09:55
petr is currently offline petrFriend
Messages: 6
Registered: July 2009
Junior Member
Hi,

I want to create new SSH-based connection and set credentials for it.
Using org.eclipse.rse.core.modelInitializers extension point I am able
to configure all settings of my connection, except the password. The
password.

When I create my IHost, I then run following code

ConnectorService[] cs = registry.getConnectorServices(host);
cs[0].setPort(6666);
cs[0].setPassword(STANDARD_USER, "", true, true);

These code does not set password, because STANDARD_USER is not the same
as my local user (AuthenticatingConnectorService compares userID when
saving password).

Is there any other way to predefine the password so that "Enter
Password" dialog is not asked?

Regards,
Petr
Previous Topic:[RSE] File subsystem vs file service
Next Topic:Get/Set Selection in RSE Explorer/TreeView ?
Goto Forum:
  


Current Time: Wed Apr 24 22:33:15 GMT 2024

Powered by FUDForum. Page generated in 0.02707 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top