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
changed source code
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