## Uses of Class
com.jscape.inet.ssh.SshException

- Packages that use SshException
  Package | Description
  --- | ---
  com.jscape.inet.ssh |

- - ### Uses of SshException in com.jscape.inet.ssh

    Subclasses of SshException in com.jscape.inet.ssh
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SshTaskTimeoutException` A subclass of TelnetException, this exception is thrown by a TelnetSession instance when using the TelnetSession#send or TelnetSession#sendWait methods and the TelnetTask exceeds the maximum defined timeout waiting for the end prompt.

    Methods in com.jscape.inet.ssh that return SshException
    Modifier and Type | Method and Description
    --- | ---
    `static SshException` | SshException.`wrap(java.lang.Throwable e)`

    Methods in com.jscape.inet.ssh that throw SshException
    Modifier and Type | Method and Description
    --- | ---
    `Ssh` | Ssh.`connect()` Connects to SSH server.
    `void` | SshSession.`connect()` Establishes connection with SSH server and performs login.
    `void` | SshSession.`connect(int timeout)` Establishes connection with SSH server and performs login
    `void` | Ssh.`requestExec(java.lang.String command)` Method requestExec request the SSH server to start the execution of the given command.
    `void` | Ssh.`requestTerminalWindowChange(int widthChars, int heightChars, int widthPixels, int heightPixels)` Requests terminal window change on the server side.
    `java.lang.String` | SshSession.`send(java.lang.String command)` Sends command to SSH host terminated by command terminator.
    `java.lang.String` | SshSession.`send(java.lang.String command, long timeout)` Sends command to SSH host terminated by command terminator.
    `java.lang.String` | SshSession.`send(java.lang.String command, java.lang.String prompt)` Deprecated. replaced by `SshSession.sendWait(String, String)` method
    `java.lang.String` | SshSession.`sendWait(java.lang.String command, java.lang.String prompt)` Sends command to SSH host terminated by command terminator.
    `java.lang.String` | SshSession.`sendWait(java.lang.String command, java.lang.String prompt, boolean regex)` Sends command to SSH host terminated by command terminator.
    `java.lang.String` | SshSession.`sendWait(java.lang.String command, java.lang.String prompt, boolean regex, long timeout)` Sends command to SSH host terminated by command terminator.
    `java.lang.String` | SshSession.`sendWait(java.lang.String command, java.lang.String prompt, long timeout)` Sends command to SSH host terminated by command terminator.

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved