/** * Entry point. * * @param arg command line arguments * @throws Exception */ public static void main(String[] arg) throws Exception { SshConfiguration config = new SshConfiguration(); config.setProtocolVersion(SshConfiguration.SSH1_ONLY); // Create the client using that configuration SshProvider provider = DefaultProviderFactory.getInstance().getProvider(config); SshClient client = provider.createClient(config); ExampleUtilities.dumpClientInfo(client); } }