[Swift-user] How to patch work to SSH node?

jezhee zhoujianghua1017 at 163.com
Wed Apr 2 22:09:41 CDT 2008


Hi,ladies and gentlemen,
	 Excuse me to trouble you. I tried to patch tasks to an SSH server by Swift last week. But, I encountered some problems. Could you give me some advice?
    At first, I tried to run Swift in Windows. I used puttygen to generate a key SSH2 RSA key pair. Then, I changed the file sites.xml according to
the User Guide and created auth.defaults in my user home directory. But When I ran Swift, error happened: 
			Execution failed:
     	  		 Could not initialize shared directory on sshsvr
			Caused by:
     	 		  org.globus.cog.abstraction.impl.file.FileResourceException: Error while communicating with the SSH server on 192.168.88.17:22
			Caused by:
      			  SSH Connection failed: null
   Actually, when I used F-SSH client to loggon to the Linux server by public key method, I didn't succeed neither.
   So, I recompiled the project in Linux and wanted to test whether this would work. I used command "ssh-keygen -t rsa" to generate the key pair,
then I transport the rsa.pub to another Linux server. After these, I could log to the server without password successfully. So, I changed the 
configuration of Swift and run the sample script. But fallaciously, the same error appeared. Both of the two Linux PCs' kernal is 2.6. I used F-SSH as
the remote login tool. 
    I also tried changing the auth.defaults to the following:
                  192.168.88.246.type=password
				  192.168.88.246.username=root
                  192.168.88.246.password=***
                  192.168.88.246.passphrase=
I got the same error.
    Could you help me to find out whether there are any wrong config?
     
     Besides, it seems that some of the Swift source code is not open, but provided in jar library. I noticed that the support to element "filesystem"
is added in Nov. 2007, but I didn't find any disposal to this keyword in the source code. Our innovation - boinc provider is based on SSH, and 
provides more parameters to adapt the BOINC task format. Obviously, just replacing the ssh with boinc is not usable even CoGkit module has 
supported boinc provider. So, I want to ask you how to add a customized provider to Swift?
    
     Thanks a lot.	

 Regards.
							2008-04-03
//////////////////////////////////////////
// Zhou Jianghua zhoujianghua1017 at 163.com
// EI Dep, Huazhong Uni of Sci & Tech
// Internet Technology and Engineering R&D Center
// http://www.itec.org.cn
// 
// Tel:(86)27-87792139
// Fax:(86)27-87540745
// Zipcode:430074
// Address:Luoyu Road 1037, Wuhan, Hubei, China
/////////////////////////////////////////


More information about the Swift-user mailing list