de.mud.ssh
Class SshIO
java.lang.Object
  |
  +--de.mud.ssh.SshIO
- public abstract class SshIO- extends java.lang.Object
Secure Shell IO
- Version:
- $Id: SshIO.java,v 1.28 2002/10/26 19:52:44 marcus Exp $
- Author:
- Marcus Meissner
 
| Constructor Summary | 
| SshIO()Initialise SshIO
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
dataToSend
public java.lang.String dataToSend
hashHostKey
public java.lang.String hashHostKey
SshIO
public SshIO()
- Initialise SshIO
 
setLogin
public void setLogin(java.lang.String user)
- 
 
setPassword
public void setPassword(java.lang.String password)
- 
 
write
protected abstract void write(byte[] buf)
                       throws java.io.IOException
- 
- java.io.IOException
 
getTerminalType
public abstract java.lang.String getTerminalType()
- 
 
disconnect
public void disconnect()
- 
 
sendData
public void sendData(java.lang.String str)
              throws java.io.IOException
- 
- java.io.IOException
 
handleSSH
public byte[] handleSSH(byte[] buff)
                 throws java.io.IOException
- Read data from the remote host. Blocks until data is available.
 Returns an array of bytes that will be displayed.
 
- 
- java.io.IOException