org.apache.maven.wagon.providers.ssh.knownhost
Interface KnownHostsProvider
- All Known Implementing Classes:
- AbstractKnownHostsProvider
- public interface KnownHostsProvider
Provides a way to add Known Hosts fingerprints to the JSch transport
- Since:
- Sep 12, 2005
- Author:
- Juan F. Codagnone
ROLE
public static final java.lang.String ROLE
HOST_KEY_CHECKING
public static final java.lang.String HOST_KEY_CHECKING
- See Also:
- Constant Field Values
addKnownHosts
public void addKnownHosts(com.jcraft.jsch.JSch sch,
com.jcraft.jsch.UserInfo userInfo)
throws com.jcraft.jsch.JSchException
- Adds to the session all the known hosts
- Parameters:
sch
- JSch transport
- Throws:
com.jcraft.jsch.JSchException
addConfiguration
public void addConfiguration(java.util.Properties config)
storeKnownHosts
public void storeKnownHosts(com.jcraft.jsch.JSch sch)
setHostKeyChecking
public void setHostKeyChecking(java.lang.String hostKeyChecking)
getHostKeyChecking
public java.lang.String getHostKeyChecking()