[Dart] Submissions with scp

Miller, James V (CRD) millerjv at crd.ge.com
Wed, 16 Jan 2002 15:19:07 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C19ECB.0D0D4E10
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C19ECB.0D0D4E10"


------_=_NextPart_001_01C19ECB.0D0D4E10
Content-Type: text/plain;
	charset="iso-8859-1"

I made changes to the Dart Submit command to facilitate submissions via scp instead of ftp. In your
project's DartConfig.cmake you can use the following lines to activate and use scp.
 
SET (DROP_SITE "dart_server_hostname")
SET (DROP_LOCATION "place_to_deposit_testing_results")
SET (DROP_SITE_USER "ssh_userid_that project_uses_for_Dart_submissions")
SET (DROP_METHOD "scp")
SET (TRIGGER_SITE  "  <http://${DROP_SITE}/cgi-bin/Dart.pl> http://${DROP_SITE}/cgi-bin/Dart.pl")

# find scp
FIND_PROGRAM(SCPCOMMAND scp DOC "Path to scp command, sometimes used for submitting Dart results.")

 
The scp program is found by CMake.  If it is not found on your system, it will have a NOTFOUND cache
entry. This may get added to the CMake module Dart.cmake.
 
These settings are the same as the ones used for ftp submission with the following exceptions:

1.	DROP_METHOD is set to scp rather than the default setting of ftp.  If unset, Dart will use
ftp.
2.	DROP_LOCATION is a path on Dart server's filesystem when using scp whereas for ftp
DROP_LOCATION was relative to the root of the ftp server.
3.	DROP_SITE_PASSWORD is not used with scp

I know little about the wonders of ssh. I am assuming people configuring Dart servers will set up a
single ssh userid that Dart will communicate with (perhaps a different userid for each project).
Furthermore, I am guessing that somehow these ssh userids can be configured to have limited system
privaledges (for instance, only an ability to scp to a particular directory on the system).  Finally,
ssh keys will have to be sent to the administrator of the Dart server for each person setting up a
Dart client.
 
Again, I know little about the inner workings of ssh.  My test of these changes, produced an error on
my first attempt because the site I was connecting to needed to be added to my list of known hosts.
After this addition, I was able to submit properly with scp.
 
Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Corporate Research & Development
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv at crd.ge.com < mailto:millerjv at crd.ge.com <mailto:millerjv at crd.ge.com> >
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981 

 

------_=_NextPart_001_01C19ECB.0D0D4E10
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=772595919-16012002><FONT size=2>I made changes to the Dart 
Submit command to facilitate submissions via scp instead of ftp. In your 
project's DartConfig.cmake you can use the following lines to activate and use 
scp.</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>SET (DROP_SITE "<SPAN 
class=772595919-16012002>dart_server_hostname</SPAN>")<BR>SET (DROP_LOCATION 
"<SPAN class=772595919-16012002>place_to_deposit_testing_results</SPAN>")<BR>SET 
(DROP_SITE_USER "<SPAN class=772595919-16012002>ssh_userid_that 
project_uses_for_Dart_submissions</SPAN>")<BR>SET (DROP_METHOD "<SPAN 
class=772595919-16012002>scp</SPAN>")<BR>SET (TRIGGER_SITE&nbsp; "</FONT><A 
href="http://${DROP_SITE}/cgi-bin/Dart.pl"><FONT 
size=2>http://${DROP_SITE}/cgi-bin/<SPAN 
class=772595919-16012002>Dart</SPAN>.pl</FONT></A><FONT 
size=2>")<BR></FONT></DIV>
<DIV><FONT size=2># find scp<BR>FIND_PROGRAM(SCPCOMMAND scp DOC "Path to scp 
command, sometimes used&nbsp;<SPAN class=772595919-16012002>for 
</SPAN>submitting Dart results.")<BR></FONT></DIV>
<DIV><FONT size=2>&nbsp;</DIV></FONT>
<DIV><SPAN class=772595919-16012002><FONT size=2>The scp program is found by 
CMake.&nbsp; If it is not found on your system, it will have a NOTFOUND cache 
entry. This may get added to the CMake module Dart.cmake.</FONT></SPAN></DIV>
<DIV><SPAN class=772595919-16012002><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=772595919-16012002><FONT size=2>These settings are the same as 
the ones used for ftp submission with the following 
exceptions:</FONT></SPAN></DIV>
<OL>
  <LI><SPAN class=772595919-16012002><FONT size=2>DROP_METHOD is set to scp 
  rather than the default setting of ftp.&nbsp; If unset, Dart will use 
  ftp.</FONT></SPAN></LI>
  <LI><SPAN class=772595919-16012002><FONT size=2>DROP_LOCATION is a path on 
  Dart server's filesystem when using scp whereas for ftp DROP_LOCATION was 
  relative to the root of the ftp server.</FONT></SPAN></LI>
  <LI><SPAN class=772595919-16012002><FONT size=2>DROP_SITE_PASSWORD is not used 
  with scp</FONT></SPAN></LI></OL>
<DIV><SPAN class=772595919-16012002><FONT size=2>I know little about the wonders 
of ssh. I am assuming people configuring Dart servers will set up a single ssh 
userid that Dart will communicate with (perhaps a different userid for each 
project).&nbsp; Furthermore, I am guessing that somehow these ssh userids can be 
configured to have limited system privaledges (for instance, only an ability to 
scp to a particular directory on the system).&nbsp; Finally, ssh keys will have 
to be sent to the administrator of the Dart server for each person setting up a 
Dart client.</FONT></SPAN></DIV>
<DIV><SPAN class=772595919-16012002><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=772595919-16012002><FONT size=2>Again, I know little about the 
inner workings of ssh.&nbsp; My test of these changes, produced an error on my 
first attempt because the site I was connecting to needed to be added to my list 
of known hosts.&nbsp; After this addition, I was able to submit properly with 
scp.</FONT></SPAN></DIV>
<DIV><B><FONT face="Comic Sans MS" color=#000080></FONT></B>&nbsp;</DIV>
<DIV><B><FONT face="Comic Sans MS" color=#000080>Jim Miller</FONT></B> 
<BR><B><I><FONT face=Arial color=#ff0000 
size=2>_____________________________________</FONT></I></B><I></I><BR><I></I><I><FONT 
face=Arial color=#000000 size=1>Visualization &amp; Computer Vision<BR>GE 
Corporate Research &amp; Development<BR>Bldg. KW, Room C218B<BR>P.O. Box 8, 
Schenectady NY 12301<BR><BR></FONT><U><FONT face=Arial color=#0000ff 
size=1>millerjv at crd.ge.com &lt;<A 
href="mailto:millerjv at crd.ge.com">mailto:millerjv at crd.ge.com</A>&gt;</FONT></U></I><BR><I><FONT 
face=Arial color=#000000 size=1>(518) 387-4005, Dial Comm: 8*833-4005, 
</FONT></I><BR><I><FONT face=Arial color=#000000 size=1>Cell: (518) 505-7065, 
Fax: (518) 387-6981</FONT></I> </DIV><BR>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C19ECB.0D0D4E10--

------_=_NextPart_000_01C19ECB.0D0D4E10
Content-Type: application/octet-stream;
	name="Miller, James V (CRD).vcf"
Content-Disposition: attachment;
	filename="Miller, James V (CRD).vcf"

BEGIN:VCARD
VERSION:2.1
N:Miller;James
FN:Miller, James V (CRD)
ORG:CRD;ESL
TITLE:Computer Scientist
TEL;WORK;VOICE:*833-4005
TEL;WORK;VOICE:1 518 387-4005
ADR;WORK:;KW-C218B;P.O. Box 8;Schenectady;New York;12301;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:KW-C218B=0D=0AP.O. Box 8=0D=0ASchenectady, New York 12301=0D=0AUSA
EMAIL;PREF;INTERNET:millerjv at crd.ge.com
REV:20010420T140329Z
END:VCARD

------_=_NextPart_000_01C19ECB.0D0D4E10--