org.gridkit.vicluster.telecontrol.ssh
Class ConfigurableSshSessionProvider

java.lang.Object
  extended by org.gridkit.vicluster.telecontrol.ssh.ConfigurableSshSessionProvider
All Implemented Interfaces:
SshSessionFactory

Deprecated.

@Deprecated
public class ConfigurableSshSessionProvider
extends Object
implements SshSessionFactory

Configurable SSH session provider capable of choosing different credentials for hosts.

Author:
Alexey Ragozin (alexey.ragozin@gmail.com)

Nested Class Summary
static interface ConfigurableSshSessionProvider.SshConfig
          Deprecated.  
 
Constructor Summary
ConfigurableSshSessionProvider()
          Deprecated.  
ConfigurableSshSessionProvider(Properties props)
          Deprecated.  
 
Method Summary
static void configure(ConfigurableSshSessionProvider provider, Properties props)
          Deprecated.  
 Session getSession(String host, String account)
          Deprecated.  
 ConfigurableSshSessionProvider.SshConfig hosts(String pattern)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableSshSessionProvider

public ConfigurableSshSessionProvider()
Deprecated. 

ConfigurableSshSessionProvider

public ConfigurableSshSessionProvider(Properties props)
Deprecated. 
Method Detail

configure

public static void configure(ConfigurableSshSessionProvider provider,
                             Properties props)
Deprecated. 

getSession

public Session getSession(String host,
                          String account)
                   throws JSchException
Deprecated. 
Specified by:
getSession in interface SshSessionFactory
Throws:
JSchException

hosts

public ConfigurableSshSessionProvider.SshConfig hosts(String pattern)
Deprecated. 


Copyright © 2017. All Rights Reserved.