Class SshClientOptionsExtractor

java.lang.Object
com.sshtools.vsession.commands.ssh.SshClientOptionsExtractor

public class SshClientOptionsExtractor extends Object
  • Constructor Details

    • SshClientOptionsExtractor

      public SshClientOptionsExtractor()
  • Method Details

    • extractSshCommandLineFromExecuteCommand

      public static int extractSshCommandLineFromExecuteCommand(String[] values)
      Parses options as mentioned in manual pages for ssh. ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-J destination] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] destination [command]
      Parameters:
      values -
      Returns: