Skip to content

Commit

Permalink
Add list of known hosts so that individual users don't need one.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Mar 8, 2006
1 parent 5a7de5c commit b71fe42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 11 additions & 5 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@

<property name="xml.dir" value="xml"/>
<property name="lib.dir" value="lib"/>
<property name="build.dir" value="build"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="endorsed.dir" value="endorsed"/>
<property name="xalan.dir" value="xalan-j_2_6_0"/>

<property name="known.hosts" value="${build.dir}/known_hosts"/>

<!--
Standard processing: sign, then verify.
Standard processing: generate, sign, then verify.
-->
<target name="process" depends="generate, sign">
<target name="process" depends="generate, sign, verify">
<echo>Processing complete.</echo>
</target>

Expand All @@ -36,16 +38,20 @@
the usual procedure is to overwrite the master file from an e-mail message.
-->
<target name="pull" depends="get.remote.pass">
<echoproperties></echoproperties>
<scp failonerror="true" password="${remote.pass}"
remoteFile="${remote.loc}/${master.file}"
todir="${xml.dir}"/>
todir="${xml.dir}"
knownhosts="${known.hosts}"
/>
</target>

<!--
Push all XML files to the remote machine.
-->
<target name="push" depends="get.remote.pass">
<scp failonerror="true" password="${remote.pass}" remoteTodir="${remote.loc}">
<scp failonerror="true" password="${remote.pass}" remoteTodir="${remote.loc}"
knownhosts="${known.hosts}">
<fileset dir="${xml.dir}">
<include name="**/*.xml"/>
</fileset>
Expand Down
1 change: 1 addition & 0 deletions build/known_hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bodach.ucs.ed.ac.uk ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA4JG8Om2jONpu2T+lB0obXDLCLyk47jJQeAFq0nezvZbgXQgdvd0vM9tQpSrALFBQtz7UU5w/eeFGlC7gnwntYAIwT6YF8TY2ncQqhla+StjpVgfow/DOjoCuXybRwuCy6dgS/QVDrYKLkyIxfzdvyP+v5VLDg/16zaETuWCH3B0=

0 comments on commit b71fe42

Please sign in to comment.