|
|
|
SSHTools-j2ssh-0.1.7/ 40755 0 0 0 7656741163 11255 5 ustar 0 0 SSHTools-j2ssh-0.1.7/bin/ 40755 0 0 0 7656741163 12025 5 ustar 0 0 SSHTools-j2ssh-0.1.7/build/ 40755 0 0 0 7656741163 12354 5 ustar 0 0 SSHTools-j2ssh-0.1.7/build/j2ssh/ 40755 0 0 0 7656741163 13405 5 ustar 0 0 SSHTools-j2ssh-0.1.7/conf/ 40755 0 0 0 7656741163 12202 5 ustar 0 0 SSHTools-j2ssh-0.1.7/examples/ 40755 0 0 0 7656741163 13073 5 ustar 0 0 SSHTools-j2ssh-0.1.7/lib/ 40755 0 0 0 7656741163 12023 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/ 40755 0 0 0 7656741163 12044 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/ 40755 0 0 0 7656741163 12622 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/ 40755 0 0 0 7656741163 14500 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/ant/ 40755 0 0 0 7656741163 15262 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/apps/ 40755 0 0 0 7656741163 15443 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/apps/mru/ 40755 0 0 0 7656741163 16246 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/ 40755 0 0 0 7656741163 15531 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/authentication/ 40755 0 0 0 7656741163 20550 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/configuration/ 40755 0 0 0 7656741163 20400 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/configuration/automate/ 40755 0 0 0 7656741163 22217 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/connection/ 40755 0 0 0 7656741163 17670 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/forwarding/ 40755 0 0 0 7656741163 17673 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/io/ 40755 0 0 0 7656741163 16140 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/keygen/ 40755 0 0 0 7656741163 17013 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/platform/ 40755 0 0 0 7656741163 17355 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/session/ 40755 0 0 0 7656741163 17214 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/sftp/ 40755 0 0 0 7656741163 16505 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/subsystem/ 40755 0 0 0 7656741163 17567 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/terminal/ 40755 0 0 0 7656741163 17344 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/transport/ 40755 0 0 0 7656741163 17565 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/transport/cipher/ 40755 0 0 0 7656741163 21037 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/transport/compression/ 40755 0 0 0 7656741163 22126 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/transport/hmac/ 40755 0 0 0 7656741163 20475 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/transport/kex/ 40755 0 0 0 7656741163 20354 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/transport/publickey/ 40755 0 0 0 7656741163 21554 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/transport/publickey/dsa/ 40755 0 0 0 7656741163 22323 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/transport/publickey/rsa/ 40755 0 0 0 7656741163 22341 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/ui/ 40755 0 0 0 7656741163 16146 5 ustar 0 0 SSHTools-j2ssh-0.1.7/src/com/sshtools/j2ssh/util/ 40755 0 0 0 7656741163 16506 5 ustar 0 0 SSHTools-j2ssh-0.1.7/bin/cpappend.bat 100644 0 0 33 7600310532 14315 0 ustar 0 0 set _LIBJARS=%_LIBJARS%;%1
SSHTools-j2ssh-0.1.7/bin/findjava.bat 100644 0 0 372 7647473610 14355 0 ustar 0 0
rem Determining JAVA Path
if not "%JAVA_HOME%" == "" goto gotJavaHome
rem JAVA_HOME not set, searching for java.exe
set JAVA_CMD=%~$PATH:1
goto complete
:gotJavaHome
set JAVA_CMD=%JAVA_HOME%\bin\java.exe
:complete
SSHTools-j2ssh-0.1.7/bin/ssh-keygen.bat 100644 0 0 2155 7647473610 14671 0 ustar 0 0 @echo off
rem Lookup the location of java.exe
call findjava.bat java.exe
if not "%JAVA_CMD%" == "" goto gotJavaCmd
echo You must set JAVA_HOME to point at your Java Development Kit installation
echo or configure your PATH to include java.exe
goto cleanup
:gotJavaCmd
if not "%SSHTOOLS_HOME%" == "" goto gotHome
set SSHTOOLS_HOME=.
if exist "%SSHTOOLS_HOME%\conf\sshtools.xml" goto okHome
set SSHTOOLS_HOME=..
:gotHome
if exist "%SSHTOOLS_HOME%\conf\sshtools.xml" goto okHome
echo "%SSHTOOLS_HOME%\conf" not found.
echo Unable to locate the SSHTools "conf" directory, check the value of SSHTOOLS_HOME.
goto cleanup
:okHome
set _LIBJARS=
for %%i in (%SSHTOOLS_HOME%\lib\*.jar) do call %SSHTOOLS_HOME%\bin\cpappend.bat %%i
for %%i in (%SSHTOOLS_HOME%\dist\lib\*.jar) do call %SSHTOOLS_HOME%\bin\cpappend.bat %%i
if not "%_LIBJARS%" == "" goto runapp
echo Unable to set CLASSPATH dynamically.
goto cleanUp
:runapp
call "%JAVA_CMD%" -classpath %_LIBJARS% -Dsshtools.home=%SSHTOOLS_HOME% com.sshtools.j2ssh.transport.publickey.SshKeyGenerator %*
:cleanUp
set _LIBJARS= SSHTools-j2ssh-0.1.7/bin/ssh-keygen.sh 100644 0 0 5315 7656736462 14545 0 ustar 0 0 #!/bin/sh
#
# Sshtools - Java SSH2 API
#
# Copyright (C) 2002 Lee David Painter.
#
# Written by: 2002 Lee David Painter <lee@sshtools.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public License
# as published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# OS specific support. $var _must_ be set to either true or false.
CYGWIN=false;
DARWIN=false;
case "`uname`" in
CYGWIN*) CYGWIN=true ;;
Darwin*) DARWIN=true
if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
fi
;;
esac
if [ -z "$SSHTOOLS_HOME" ]
then SCRIPT="$0"
BASENAME=`basename $0`
CWD=`pwd`
cd `dirname "$SCRIPT"`
while [ -h "$PRG" ]
do
LS=`ls -ld "$SCRIPT"`
LINK=`expr "$LS" : '.*-> \(.*\)$'`
if expr "$LINK" : '.*/.*' > /dev/null
then SCRIPT="$LINK"
else SCRIPT=`dirname "$SCRIPT"`"/$LINK"
fi
done
SSHTOOLS_HOME=`dirname "$SCRIPT"`/..
cd "$CWD"
SSHTOOLS_HOME=`cd "$SSHTOOLS_HOME" && pwd`
fi
if [ $CYGWIN = true ]
then [ -n "$ANT_HOME" ] && SSHTOOLS_HOME=`cygpath --unix "$SSHTOOLS_HOME"`
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
if [ -n "$JAVA_HOME" ]
then if [ -x "$JAVA_HOME/jre/sh/java" ]
then JAVACMD="$JAVA_HOME/jre/sh/java"
else JAVACMD="$JAVA_HOME/bin/java"
fi
else JAVACMD=java
fi
SSHTOOLS_CLASSPATH=
for i in ${SSHTOOLS_HOME}/classes ${SSHTOOLS_HOME}/dist/lib/*.jar "${SSHTOOLS_HOME}"/lib/*.jar
do
if [ -z "$SSHTOOLS_CLASSPATH" ]
then SSHTOOLS_CLASSPATH="$i"
else SSHTOOLS_CLASSPATH="$i":"$SSHTOOLS_CLASSPATH"
fi
done
if [ "$CWGWIN" = "true" ]
then SSHTOOLS_HOME=`cygpath --path --windows "$ANT_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
SSHTOOLS_CLASSPATH=`cygpath --path --windows "$SSHTOOLS_CLASSPATH"`
CYGHOME=`cygpath --path --windows "$HOME"`
fi
"$JAVACMD" -classpath "$SSHTOOLS_CLASSPATH" -Dsshtools.home="${SSHTOOLS_HOME}" com.sshtools.j2ssh.transport.publickey.SshKeyGenerator $*
SSHTOOLS_HOME=""
SSHTOOLS_CLASSPATH=""
SSHTools-j2ssh-0.1.7/build/j2ssh/apps.properties 100644 0 0 223 7655451554 16541 0 ustar 0 0 # J2SSH Project version
apps.project.name=apps
apps.project.type=beta
apps.version.major=0
apps.version.minor=1
apps.version.build=7
SSHTools-j2ssh-0.1.7/build/j2ssh/j2ssh-build.xml 100644 0 0 21451 7656462076 16400 0 ustar 0 0 <?xml version="1.0" encoding="UTF-8"?>
<project name="sshtools" default="build" basedir="../..">
<!-- Package build parameters -->
<property name="build.j2ssh" value="${build.scripts}/j2ssh"/>
<property file="${build.j2ssh}/j2ssh.properties"/>
<property name="j2ssh.version.string" value="SSHTools-${j2ssh.project.name}-${j2ssh.version.major}.${j2ssh.version.minor}.${j2ssh.version.build}"/>
<property file="${build.j2ssh}/apps.properties"/>
<property name="apps.version.string" value="SSHTools-${apps.project.name}-${apps.version.major}.${apps.version.minor}.${apps.version.build}"/>
<!-- Build the distribution files -->
<target name="build">
<!-- Make the root directories -->
<mkdir dir="${build.dist.lib}"/>
<!-- Build the J2SSH library file -->
<ConditionalTasks name="Building J2SSH jar file" files="${build.j2ssh}/j2ssh.properties"
dirs="src/com/sshtools/j2ssh,src/com/sshtools/ant">
<jar jarfile="${build.dist.lib}/${j2ssh.version.string}.jar" basedir="${build.dist.classes}">
<include name="com/sshtools/j2ssh/**/*.class"/>
<include name="com/sshtools/j2ssh/**/*.png"/>
<include name="com/sshtools/j2ssh/**/*.gif"/>
<include name="com/sshtools/ant/**/*.class"/>
</jar>
</ConditionalTasks>
<!-- Build the SshTools Apps file -->
<ConditionalTasks name="Building SSHTools Apps jar file" files="${build.j2ssh}/apps.properties"
dirs="src/com/sshtools/apps">
<jar jarfile="${build.dist.lib}/${apps.version.string}.jar" basedir="${build.dist.classes}">
<include name="com/sshtools/apps/**/*.class"/>
<include name="com/sshtools/apps/**/*.png"/>
<include name="com/sshtools/apps/**/*.gif"/>
</jar>
</ConditionalTasks>
</target>
<!-- Format the source code -->
<target name="format">
<taskdef name="jalopy"
classname="de.hunsicker.jalopy.plugin.ant.AntPlugin">
<classpath>
<fileset dir="${jalopy.home}/lib">
<include name="*.jar" />
</fileset>
</classpath>
</taskdef>
<echo message="Formatting J2SSH source files"/>
<jalopy convention="${build.j2ssh}/j2ssh-convention.xml" classpathref="project.class.path">
<fileset dir="${build.src}/com/sshtools/j2ssh">
<include name="**/*.java"/>
<exclude name="terminal/*.java"/>
</fileset>
<fileset dir="${build.src}/com/sshtools/ant">
<include name="**/*.java"/>
</fileset>
</jalopy>
<echo message="Formatting Sshtools apps source files"/>
<jalopy convention="${build.j2ssh}/apps-convention.xml" classpathref="project.class.path">
<fileset dir="${build.src}/com/sshtools/apps">
<include name="**/*.java"/>
</fileset>
</jalopy>
</target>
<!-- Build all the projects release files -->
<target name="release" depends="build">
<!-- Build the J2SSH release files -->
<ConditionalTasks name="Building J2SSH release files" files="${build.j2ssh}/j2ssh.properties"
dirs="src/com/sshtools/j2ssh">
<mkdir dir="${build.release}/${j2ssh.version.string}"/>
<echo message="Building J2SSH binary distribution zip file"/>
<!-- Create the j2ssh binary distribution zip file -->
<zip zipfile="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin.zip">
<zipfileset dir="${build.bin}" includes="findjava.bat,ssh-keygen.bat,ssh-keygen.sh,cpappend.bat" prefix="${j2ssh.version.string}/bin"/>
<zipfileset dir="${build.conf}" includes="sshtools.xml,server.xml,hosts.xml,platform.xml,authorization.xml,automation.xml" prefix="${j2ssh.version.string}/conf"/>
<zipfileset dir="${build.dist.lib}" includes="${bc-ciphers.version.string}.jar" prefix="${j2ssh.version.string}/lib/ext"/>
<zipfileset dir="." includes="${build.j2ssh}/LICENSE.TXT" fullpath="${j2ssh.version.string}/LICENSE.TXT"/>
<zipfileset dir="${build.examples}" includes="*.java" prefix="${j2ssh.version.string}/examples"/>
<zipfileset dir="." includes="${build.j2ssh}/INSTALL.TXT" fullpath="${j2ssh.version.string}/INSTALL.TXT"/>
<zipfileset dir="." includes="${build.j2ssh}/j2ssh.properties" prefix="${j2ssh.version.string}"/>
<zipfileset dir="${build.dist.lib}" includes="${j2ssh.version.string}.jar" prefix="${j2ssh.version.string}/dist/lib"/>
<zipfileset dir="${build.dependency}" includes="log4j-1.2.6.jar,log4j.txt" prefix="${j2ssh.version.string}/lib"/>
</zip>
<echo message="Building J2SSH binary distribution gzip file"/>
<!-- To create the j2ssh binary distribution gzip file, unzip and tar the contents of the zip -->
<unzip src="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin.zip"
dest="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin"/>
<tar tarfile="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin.tar"
basedir="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin"/>
<gzip zipfile="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin.tar.gz"
src="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin.tar"/>
<echo message="Building J2SSH source distribution zip file"/>
<!-- Create the binary distribution zip file -->
<zip zipfile="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src.zip">
<zipfileset dir="${build.bin}" includes="findjava.bat,ssh-keygen.bat,ssh-keygen.sh,cpappend.bat" prefix="${j2ssh.version.string}/bin"/>
<zipfileset dir="${build.src}/com/sshtools/j2ssh" includes="**/*.java" prefix="${j2ssh.version.string}/src/com/sshtools/j2ssh"/>
<zipfileset dir="${build.src}/com/sshtools/j2ssh" includes="**/*.png" prefix="${j2ssh.version.string}/src/com/sshtools/j2ssh"/>
<zipfileset dir="${build.src}/com/sshtools/j2ssh" includes="**/*.gif" prefix="${j2ssh.version.string}/src/com/sshtools/j2ssh"/>
<zipfileset dir="${build.src}/com/sshtools/apps" includes="**/*.java" prefix="${j2ssh.version.string}/src/com/sshtools/apps"/>
<zipfileset dir="${build.src}/com/sshtools/apps" includes="**/*.png" prefix="${j2ssh.version.string}/src/com/sshtools/apps"/>
<zipfileset dir="${build.src}/com/sshtools/apps" includes="**/*.gif" prefix="${j2ssh.version.string}/src/com/sshtools/apps"/>
<zipfileset dir="${build.src}/com/sshtools/ant" includes="**/*.java" prefix="${j2ssh.version.string}/src/com/sshtools/ant"/>
<zipfileset dir="${build.conf}" includes="sshtools.xml,server.xml,hosts.xml,platform.xml,authorization.xml,automation.xml" prefix="${j2ssh.version.string}/conf"/>
<zipfileset dir="." includes="${build.j2ssh}/LICENSE.TXT" fullpath="${j2ssh.version.string}/LICENSE.TXT"/>
<zipfileset dir="${build.examples}" includes="*.java" prefix="${j2ssh.version.string}/examples"/>
<zipfileset dir="." includes="${build.j2ssh}INSTALL.TXT" prefix="${j2ssh.version.string}"/>
<zipfileset dir="." includes="build.xml,build.txt,build.properties" prefix="${j2ssh.version.string}"/>
<zipfileset dir="${build.j2ssh}" includes="j2ssh-build.xml,j2ssh.properties,apps.properties" prefix="${j2ssh.version.string}/build/j2ssh"/>
<zipfileset dir="${build.dependency}" includes="log4j-1.2.6.jar,log4j.txt" prefix="${j2ssh.version.string}/lib"/>
</zip>
<echo message="Building J2SSH source distribution gzip file"/>
<!-- To create the source distribution gzip file, unzip and tar the contents of the zip -->
<unzip src="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src.zip"
dest="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src"/>
<tar tarfile="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src.tar"
basedir="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src"/>
<gzip zipfile="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src.tar.gz"
src="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src.tar"/>
<!-- Clean up the temp files and dir -->
<delete file="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin.tar"/>
<delete dir="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-bin"/>
<delete file="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src.tar"/>
<delete dir="${build.release}/${j2ssh.version.string}/${j2ssh.version.string}-src"/>
</ConditionalTasks>
</target>
</project>
SSHTools-j2ssh-0.1.7/build/j2ssh/j2ssh.properties 100644 0 0 227 7656701620 16624 0 ustar 0 0 # J2SSH Project version
j2ssh.project.name=j2ssh
j2ssh.project.type=beta
j2ssh.version.major=0
j2ssh.version.minor=1
j2ssh.version.build=7
SSHTools-j2ssh-0.1.7/build.properties 100644 0 0 331 7656455672 14553 0 ustar 0 0 #SSHTools build file properties
jalopy.home=c:/jalopy-ant
genjar.jarfile=c:/Development/sshtools/code/lib/GenJar.jar
docbook.dtd.home=c:/docbook-xml
docbook.xsl.home=c:/docbook-xsl-1.60.1
fop.home=c:/fop-0.20.5rc SSHTools-j2ssh-0.1.7/build.txt 100644 0 0 3067 7656431320 13207 0 ustar 0 0 ---------------------------------------------------
Building SSHTools Using ANT
---------------------------------------------------
The SSHTools source distributions relies on ANT as its build tool. ANT is available from "http://jakarta.apache.org/ant/".
ANT requires a build file called build.xml. The SSHTools build.xml has been developed
to be modular and will attempt to compile and build SSHTools subprojects ONLY if the relevant
source package is accessible within the source tree. (This is achieved through our own ConditionalTask ant task)
Using a command prompt, change to your $INSTALL_DIR and issue the following command:
> ant
This should execute the ANT script build.xml and you should see the log output begin to firstly compile the source, and then building the $INSTALL_DIR/dist/lib/sshtools-j2ssh-VERSION.jar.
The following targets are useful
compile - Compiles all the source
build - Builds all jar files possible from the source tree
----------------------------------------------------
Building SSHTools without ANT
----------------------------------------------------
If you decide you do not want to build using the ANT build tool and would rather
compile the source in your own development environment, simply add all the
dependencies found in $INSTALL_DIR/lib to your classpath, and remove the $INSTALL_DIR/src/com/sshtools/ant
directory, as this has a dependency on the ANT tool which is not shipped as part of the distribution.
You can then compile and build the source in any way you feel benefits your project. SSHTools-j2ssh-0.1.7/build.xml 100644 0 0 17756 7656704156 13234 0 ustar 0 0 <?xml version="1.0" encoding="UTF-8"?>
<project name="sshtools" default="build" basedir=".">
<!-- Set global properties for this build -->
<property name="build.examples" value="./examples"/>
<property name="build.dist" value="./dist"/>
<property name="build.bin" value="./bin"/>
<property name="build.conf" value="./conf"/>
<property name="build.release" value="./release"/>
<property name="build.dist.classes" value="${build.dist}/classes"/>
<property name="build.dist.lib" value="${build.dist}/lib"/>
<property name="build.dependency" value="./lib"/>
<property name="build.src" value="./src"/>
<property name="build.doc" value="./docs"/>
<property name="build.docbook" value="./drafts"/>
<property name="build.dist.docs" value="./release/userguides"/>
<property name="build.cert" value="./certificate"/>
<property name="build.scripts" value="./build"/>
<!-- Global build parameters -->
<property file="build.properties"/>
<property file="${user.home}/sshtools-build.properties"/>
<!-- Set this to 'yes' if you wish the classes
to be compiled with debug information -->
<property name="build.debugInformation" value="off"/>
<!-- Build the project classpath -->
<path id="project.class.path">
<pathelement path="${java.classpath}"/>
<fileset dir="${build.dependency}">
<include name="*.jar"/>
</fileset>
<pathelement path="${build.dist.classes}/"/>
</path>
<target name="compile" depends="clean">
<echo message="Creating directories"/>
<!-- Create the output directory -->
<mkdir dir="${build.dist}"/>
<mkdir dir="${build.dist.classes}"/>
<!-- Copy the projects resources to the classpath -->
<echo message="Copying resource to classpath"/>
<copy todir="${build.dist.classes}" >
<fileset dir="${build.src}" >
<include name="**/*.png"/>
<include name="**/*.gif"/>
</fileset>
</copy>
<!-- Compile the source -->
<javac srcdir="${build.src}" debug="${build.debugInformation}" destdir="${build.dist.classes}" includes="**/*.java">
<classpath refid="project.class.path"/>
</javac>
<!-- Our task to only build jars and releases if the source exists -->
<taskdef name="ConditionalTasks" classpath="${build.dist.classes}"
classname="com.sshtools.ant.ConditionalTasks"/>
</target>
<target name="build" depends="compile">
<ConditionalTasks name="Building J2SSH" files="${build.scripts}/j2ssh/j2ssh-build.xml">
<ant antfile="${build.scripts}/j2ssh/j2ssh-build.xml"
target="build"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Building SSHVnc" files="${build.scripts}/sshvnc/sshvnc-build.xml">
<ant antfile="${build.scripts}/sshvnc/sshvnc-build.xml"
target="build"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Building ShiFT" files="${build.scripts}/shift/shift-build.xml">
<ant antfile="${build.scripts}/shift/shift-build.xml"
target="build"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Building SSHTerm" files="${build.scripts}/sshterm/sshterm-build.xml">
<ant antfile="${build.scripts}/sshterm/sshterm-build.xml"
target="build"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Building SSHTerm Applet" files="${build.scripts}/sshterm-applet/sshterm-applet-build.xml">
<ant antfile="${build.scripts}/sshterm-applet/sshterm-applet-build.xml"
target="build"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Building SSHVnc Applet" files="${build.scripts}/sshvnc-applet/sshvnc-applet-build.xml">
<ant antfile="${build.scripts}/sshvnc-applet/sshvnc-applet-build.xml"
target="build"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Building J2SSH Extensions" files="${build.scripts}/j2ssh-ext/j2ssh-ext-build.xml">
<ant antfile="${build.scripts}/j2ssh-ext/j2ssh-ext-build.xml"
target="build"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Building SSHDaemon Win32" files="${build.scripts}/sshdaemon-win32/sshdaemon-win32-build.xml">
<ant antfile="${build.scripts}/sshdaemon-win32/sshdaemon-win32-build.xml"
target="build"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
</target>
<target name="release" depends="compile">
<mkdir dir="${build.release}"/>
<ConditionalTasks name="Releasing J2SSH" files="${build.scripts}/j2ssh/j2ssh-build.xml">
<ant antfile="${build.scripts}/j2ssh/j2ssh-build.xml"
target="release"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Releasing SSHVnc" files="${build.scripts}/sshvnc/sshvnc-build.xml">
<ant antfile="${build.scripts}/sshvnc/sshvnc-build.xml"
target="release"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Releasing ShiFT" files="${build.scripts}/shift/shift-build.xml">
<ant antfile="${build.scripts}/shift/shift-build.xml"
target="release"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Releasing SSHTerm" files="${build.scripts}/sshterm/sshterm-build.xml">
<ant antfile="${build.scripts}/sshterm/sshterm-build.xml"
target="release"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Releasing SSHTerm Applet" files="${build.scripts}/sshterm-applet/sshterm-applet-build.xml">
<ant antfile="${build.scripts}/sshterm-applet/sshterm-applet-build.xml"
target="release"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Releasing SSHVnc Applet" files="${build.scripts}/sshvnc-applet/sshvnc-applet-build.xml">
<ant antfile="${build.scripts}/sshvnc-applet/sshvnc-applet-build.xml"
target="release"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Releasing J2SSH Extensions" files="${build.scripts}/j2ssh-ext/j2ssh-ext-build.xml">
<ant antfile="${build.scripts}/j2ssh-ext/j2ssh-ext-build.xml"
target="release"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Generating documentation" files="${build.scripts}/guide/guide-build.xml">
<ant antfile="${build.scripts}/guide/guide-build.xml"
target="userguide"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
<ConditionalTasks name="Releasing SSHDaemon Win32" files="${build.scripts}/sshdaemon-win32/sshdaemon-win32-build.xml">
<ant antfile="${build.scripts}/sshdaemon-win32/sshdaemon-win32-build.xml"
target="release"
inheritAll="true"
inheritRefs="true"/>
</ConditionalTasks>
</target>
<!-- Clean up all the generated files -->
<target name="clean" >
<!-- delete the classpath -->
<delete dir="${build.dist.classes}"/>
<delete dir="${build.dist.lib}"/>
<delete dir="${build.dist}"/>
<delete dir="${build.release}"/>
</target>
</project>
SSHTools-j2ssh-0.1.7/conf/authorization.xml 100644 0 0 310 7613604550 15662 0 ustar 0 0 <?xml version="1.0" encoding="UTF-8"?>
<!-- Sshtools User Authorization File -->
<AuthorizedKeys>
<!-- Enter authorized public key elements here -->
<!--<Key>dsa.pub</Key> -->
</AuthorizedKeys>
SSHTools-j2ssh-0.1.7/conf/automation.xml 100644 0 0 2201 7644274540 15171 0 ustar 0 0 <?xml version="1.0" encoding="UTF-8"?>
<!-- SSHTools automation file, defines mappings for automated configuration -->
<Automation>
<RemoteIdentification defaultName="OpenSSH">
<Rule startsWith="OpenSSH"/>
<Rule startsWith="OpenSSH" contains="3.4" name="OpenSSH 3.4" priority="1"/>
<AuthorizedKeysFormat implementationClass="com.sshtools.j2ssh.configuration.automate.OpenSSHAuthorizedKeysFormat"
defaultPath=".ssh/authorized_keys"/>
</RemoteIdentification>
<RemoteIdentification defaultName="SSHTools">
<Rule startsWith="http://www.sshtools.com"/>
<AuthorizedKeysFormat implementationClass="com.sshtools.j2ssh.configuration.automate.SshtoolsAuthorizedKeysFormat"
defaultPath=".ssh2/authorization.xml"/>
</RemoteIdentification>
<RemoteIdentification defaultName="SSH2">
<Rule contains="SSH Secure Shell"/>
<AuthorizedKeysFormat implementationClass="com.sshtools.j2ssh.configuration.automate.SSH2AuthorizedKeysFormat"
defaultPath=".ssh2/authorization"/>
</RemoteIdentification>
</Automation>