SSH Factory

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

Packages that use SshException
com.jscape.inet.ssh Contains classes for communicating with SSH (Secure Shell) servers. 
 

Uses of SshException in com.jscape.inet.ssh
 

Subclasses of SshException in com.jscape.inet.ssh
 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 throw SshException
 void 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.
 void SshTask.setEndPromptRegex(boolean b)
          Specifies if end prompt is a regular expression
 void SshTask.setStartPromptRegex(boolean b)
          Specifies if start prompt is a regular expression
 

Constructors in com.jscape.inet.ssh that throw SshException
SshSession(SshParameters sshParams)
          Creates a new SshSession instance.
SshSession(java.lang.String hostname, int port, java.lang.String username, java.lang.String password)
          Creates a new SshSession instance.
SshSession(java.lang.String hostname, java.lang.String username, java.lang.String password)
          Creates a new SshSession instance.
 


SSH Factory

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