[Swift-devel] SSH support
Mihael Hategan
hategan at mcs.anl.gov
Thu Apr 10 08:02:53 CDT 2008
On Thu, 2008-04-10 at 07:31 -0500, Michael Wilde wrote:
> I just tried this for the first time and I cant get it to work, Mihael.
> Can you take a look?
>
> I get these errors:
>
> 2008-04-09 23:04:47,221-0500 DEBUG TaskImpl Task(type=FILE_OPERATION,
> identity=urn:0-1207800286502) setting status to Failed
> org.globus.cog.abstraction.impl.file.FileResourceException: Error while
> communi\
> cating with the SSH server on login.ci.uchicago.edu:22
> Could not initialize shared directory on login.ci
> ...
> Caused by: org.globus.cog.abstraction.impl.file.FileResourceException:
> Error while communicating with the SSH server on login.ci.uchicago.edu:22
> ...
> Caused by:
> org.globus.cog.abstraction.impl.common.task.TaskSubmissionException:
> org.globus.cog.abstraction.impl.file.FileResourceException: Error while
> communicating with the SSH server on login.ci.uchica\
> go.edu:22
> Caused by: org.globus.cog.abstraction.impl.file.FileResourceException:
> Error while communicating with the SSH server on login.ci.uchicago.edu:22
> Caused by: java.lang.NullPointerException
>
>
> All the related files and logs are in ~benc/swift/logs/wilde/run354
I'll take a look.
>
> Im running swift on terminable, with a 1-job test workflow to login.ci.
>
> I created a new rsa key, with a passphrase, and added it to
> authorized-keys. I tested the key and can manually ssh to login.ci from
> terminable with it, and verified the passphrase. (see file keytest)
>
> Also, once we have this working, can I eliminate the passphrase from
> auth.defaults if I use an agent?
No. The agent is not supported.
>
> Thanks,
>
> - Mike
>
>
>
> On 11/23/07 3:42 PM, Mihael Hategan wrote:
> > I've updated the SSH provider in cog to do a few things:
> > - make better use of connections (cache them). SSH has this nifty thing:
> > On one connection you can configure multiple independent channels
> > (OpenSSH servers seem to support up to 10 such channels per connection).
> > With this you get up to 10 independent shells without authenticating
> > again.
> > - access remote filesystems (a file op provider) with SFTP
> > - get default authentication information from a file
> > (~/.ssh/auth.defaults). I attached a sample. I need to document this.
> >
> > I also added a filesystem element in the site catalog, which works in a
> > similar way to the execution element:
> > <pool handle="plussed" sysinfo="INTEL32::LINUX">
> > <filesystem provider="ssh" url="plussed.mcs.anl.gov"
> > storage="/homes/hategan/tmp" />
> > <execution provider="ssh" url="plussed.mcs.anl.gov" />
> > <workdirectory>/homes/hategan/tmp</workdirectory>
> > </pool>
> >
> > That basically allows Swift to work with SSH.
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Swift-devel mailing list
> > Swift-devel at ci.uchicago.edu
> > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>
More information about the Swift-devel
mailing list