remch = packet_get_int();
remote_id = packet_get_int();
auth_input_open_request(int type, int plen, void *ctxt){	int remch, sock, newch;	char *dummyname;	packet_integrity_check(plen, 4, type);	/* Read the remote channel number from the message. */	remch = packet_get_int();	/*	 * Get a connection to the local authentication agent (this may again	 * get forwarded).	 */	sock = ssh_get_authentication_socket();	/*	 * If we could not connect the agent, send an error message back to	 * the server. This should never happen unless the agent dies,	 * because authentication forwarding is only enabled if we have an	 * agent.	 */	if (sock < 0) {		packet_start(SSH_MSG_CHANNEL_OPEN_FAILURE);		packet_put_int(remch);		packet_send();		return;	}	debug("Forwarding authentication connection.");	/*	 * Dummy host name.  This will be freed when the channel is freed; it	 * will still be valid in the packet_put_string below since the	 * channel cannot yet be freed at that point.	 */	dummyname = xstrdup("authentication agent connection");	newch = channel_allocate(SSH_CHANNEL_OPEN, sock, dummyname);	channels[newch].remote_id = remch;	/* Send a confirmation to the remote host. */	packet_start(SSH_MSG_CHANNEL_OPEN_CONFIRMATION);	packet_put_int(remch);	packet_put_int(newch);	packet_send();}