[Swift-devel] ssh data provider

Mihael Hategan hategan at mcs.anl.gov
Thu Dec 11 16:27:21 CST 2008


Can you remove the quotes after .passphrase= and try again?

On Thu, 2008-12-11 at 16:14 -0600, Zhao Zhang wrote:
> Hi, All
> 
> I am trying to make the ssh data provider working between BG login node 
> and IO node.
> In this context, we could ssh from login nodes to IO nodes without a 
> passphrase.
> 
> I made a test, it failed:
> zzhang at login6.surveyor:~/swift/test> swift -sites.file ./sites.xml 
> -tc.file ./tc.data first.swift
> Swift svn swift-r2334 (Swift modified locally) cog-r2216
> 
> RunID: 20081211-1604-6otxvqtb
> Progress:
> echo started
> Sorted: [bgp000:1,000.000(98.545):0/789 overload: 0]
> Sorted: [bgp000:999.590(98.544):0/789 overload: 0]
> Sorted: [bgp000:999.180(98.544):0/789 overload: 0]
> echo failed
> Execution failed:
>         Could not initialize shared directory on bgp000
> Caused by:
>         org.globus.cog.abstraction.impl.file.FileResourceException: 
> Error while communicating with the SSH server on 172.16.3.6:22
> Caused by:
>         Public Key Authentication failed
> 
> 
> My sites.xml is like belwo:
> zzhang at login6.surveyor:~/swift/test> cat sites.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <config xmlns="http://www.griphyn.org/chimera/GVDS-PoolConfig"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.5">
> <pool handle="bgp000">
>         <filesystem url="172.16.3.6" provider="ssh"/>
>         <execution provider="deef" 
> url="http://172.16.3.6:50001/wsrf/services/GenericPortal/core/WS/GPFactoryService"/>
>         <workdirectory>/tmp</workdirectory>
>         <profile namespace="karajan" key="jobThrottle">8</profile>
>         <profile namespace="karajan" key="initialScore">1000</profile>
> </pool>
> 
> </config>
> 
> My auth.defaults is this:
> zzhang at login6.surveyor:~/swift/test> cat ~/.ssh/auth.defaults
> 172.16.3.6.type=key
> 172.16.3.6.username=zzhang
> 172.16.3.6.key=/home/zzhang/.ssh/id_rsa
> 172.16.3.6.passphrase=""
> 
> The log file could be reached at 
> http://www.ci.uchicago.edu/~zzhang/first-20081211-1604-6otxvqtb.log
> 
> Thanks.
> 
> best wishes
> zhangzhao
> _______________________________________________
> 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