Yay! I'm glad you FINALLY got that fixed and at least now I know if the pubkey bug bites me I can have this thread as a resource thanks for posting your fix.
As for wifi and Xterm if there is a way to connect to wifi from xterm - I don't know what it is