/* Receive SSH_FXP_VERSION */
log.debug("Waiting for SSH_FXP_VERSION...");
TypesReader tr = new TypesReader(receiveMessage(34000)); /* Should be enough for any reasonable server */
int t = tr.readByte();
listener.read(Packet.forName(t));
if (t != Packet.SSH_FXP_VERSION)
{
throw new IOException("The server did not send a SSH_FXP_VERSION packet (got " + t + ")");