de.mud.ssh
Class SshIO
public abstract class SshIO
extends java.lang.Object
Secure Shell IO
$Id: SshIO.java 506 2005-10-25 10:07:21Z marcus $
dataToSend
public String dataToSend
hashHostKey
public String hashHostKey
SshIO
public SshIO()
Initialise SshIO
disconnect
public void disconnect()
getTerminalType
public abstract String getTerminalType()
handleSSH
public byte[] handleSSH(buff[] )
throws IOException
Read data from the remote host. Blocks until data is available.
Returns an array of bytes that will be displayed.
sendData
public void sendData(String str)
throws IOException
setLogin
public void setLogin(String user)
setPassword
public void setPassword(String password)
setWindowSize
public void setWindowSize(int columns,
int rows)
throws IOException
write
protected abstract void write(byte[] buf)
throws IOException