I have an iPhone 3G, which I've jailbreaked through several versions without a problem. Upgrading to 3.1, I just successfully jailbreaked with Pwnage tool, but Cydia crashes instantly on launch. I've tried to Google for help, but the solutions all involve editing files on the iPhone, which I can't get to--Terminal also instantly crashes when I try to launch it, and when I try to ssh in to the phone, I get "ssh_exchange_identification: Connection closed by remote host".

One post said that the problem could be with Icy, but re-jailbreaking without Icy doesn't help.

Any ideas? I need my Cydia! There's no point otherwise! Am getting pretty desperate at this point.

Thanks all