Changed auth_server() to take two fds (for the daemon via remote-shell