[Swift-devel] SSH support
Mihael Hategan
hategan at mcs.anl.gov
Fri Nov 23 15:42:04 CST 2007
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.
-------------- next part --------------
localhost.type=key
localhost.username=mike
localhost.key=/home/mike/.ssh/identity
localhost.passphrase=
plussed.mcs.anl.gov.type=key
plussed.mcs.anl.gov.username=hategan
plussed.mcs.anl.gov.key=/home/mike/.ssh/identity
plussed.mcs.anl.gov.passphrase=
More information about the Swift-devel
mailing list