Menu

#1 Two feature requests

open
nobody
None
5
2007-07-23
2007-07-23
No

Hi,

I'm working on grid project ( part of OMII-Europe project ) and found your software really useful. In order to use it for our needs, I added two features GSI-SSHTerm:

- autoconnect ( in applet version ). When you specify attributes:

sshterm.autoconnect.host
sshterm.autoconnect.port
sshterm.autoconnect.username

it will automaticaly establish a connection.

(source code included)

- search for user's proxy in custom location - it's hardcoded right now - it would be nice to have additional property in GSI-SSHTerm.properties.

UserGridCredential.java:

private static GSSCredential loadExistingProxy()
throws GSSException
{
GlobusGSSCredentialImpl globusgsscredentialimpl = null;
CoGProperties cogproperties = CoGProperties.getDefault();

String proxyPath = "";

try
{
proxyPath = cogproperties.getProxyFile();
if (!(new File(proxyPath)).exists()) {
proxyPath = "/home/piotrus/IdeaProjects/stockholm/sshtools/release/GSI-SSHTerm-0.90a/bin/x509up_u2025";
}
if (!(new File(proxyPath)).exists()) {
return null;
}
...

I hope, you will find it useful.

Regards,

Piotr Dziubecki

Poznan Supercomputing and Networking Center

Discussion

  • Piotr Dziubecki

    Piotr Dziubecki - 2007-07-23

    changed source code

     
  • David Spence

    David Spence - 2007-09-26

    Logged In: YES
    user_id=1616586
    Originator: NO

    Piotr,
    Do you still require these features? Sorry for the delay in replying.

    1) I am adding the sshterm.autoconnect.host, sshterm.autoconnect.port and sshterm.autoconnect.username options.

    2) In an applet you can specify a grid proxy as an argument to the applet tag "sshterm.gsscredential". If you are running as an application you can change the proxy location through the "proxy=" setting in the ~/.globus/cog.properties files.... Given these options I don't think you need an option in the GSI-SSHTerm.properties file?

    Thanks

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.