OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:knownhosts
(Results
1 - 6
of
6
) sorted by null
/external/ganymed-ssh2/examples/
SimpleVerifier.java
5
import ch.ethz.ssh2.
KnownHosts
;
10
KnownHosts
database;
16
public SimpleVerifier(
KnownHosts
database)
31
case
KnownHosts
.HOSTKEY_IS_OK:
35
case
KnownHosts
.HOSTKEY_IS_NEW:
41
// To save it in a known hosts file, also call "
KnownHosts
.addHostkeyToFile(...)"
46
case
KnownHosts
.HOSTKEY_HAS_CHANGED:
UsingKnownHosts.java
12
import ch.ethz.ssh2.
KnownHosts
;
18
static
KnownHosts
database = new
KnownHosts
();
26
File
knownHosts
= new File("~/.ssh/known_hosts");
32
if (
knownHosts
.exists())
33
database.addHostkeys(
knownHosts
);
SwingShell.java
32
import ch.ethz.ssh2.
KnownHosts
;
67
KnownHosts
database = new
KnownHosts
();
389
case
KnownHosts
.HOSTKEY_IS_OK:
392
case
KnownHosts
.HOSTKEY_IS_NEW:
396
case
KnownHosts
.HOSTKEY_HAS_CHANGED:
406
String hexFingerprint =
KnownHosts
.createHexFingerprint(serverHostKeyAlgorithm, serverHostKey);
407
String bubblebabbleFingerprint =
KnownHosts
.createBubblebabbleFingerprint(serverHostKeyAlgorithm,
420
String hashedHostname =
KnownHosts
.createHashedHostname(hostname);
430
KnownHosts
.addHostkeyToFile(new File(knownHostPath), new String[] { hashedHostname }
[
all
...]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
KnownHosts.java
34
* The <code>
KnownHosts
</code> class is a handy tool to verify received server hostkeys
43
* <code>
KnownHosts
</code> for your whole application.
46
* @version $Id:
KnownHosts
.java 37 2011-05-28 22:31:46Z dkocher@sudo.ch $
49
public class
KnownHosts
67
private final LinkedList<KnownHostsEntry> publicKeys = new LinkedList<
KnownHosts
.KnownHostsEntry>();
69
public
KnownHosts
()
73
public
KnownHosts
(char[] knownHostsData) throws IOException
78
public
KnownHosts
(String
knownHosts
) throws IOException
80
initialize(new File(
knownHosts
));
[
all
...]
/external/ganymed-ssh2/
HISTORY.txt
21
- Fixed a bug in
KnownHosts
.getPreferredServerHostkeyAlgorithmOrder (it always returned null, which is a valid return value but wrong).
140
- Fixed a bug in
KnownHosts
.addHostkeyToFile. Hostnames were converted to lowercase which is
258
- Added rather complete support for known_hosts files (in
KnownHosts
.java).
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-jsch.jar
Completed in 278 milliseconds