Seeing no other response, and have not messed with the code myself, I can
only guess on the following:
> Hostkey signature sent by remote is wrong!
May be this isn't a programming error but an error/warning without a popup
dialog?
Some systems regenerate their host keys on reboot, and ssh is saying that the
host
key is not the same as the last time. Normally this is a problem because some
one
may have hijacked the IP address and put in a fake host server to steal data.
But this probably isn't your case.
If you can modify the code to ignore this error and accept any new ones,
you might get around this problem.
The normal response that I have seen is a dialog pops up asking to proceed any
way.
Good luck.
Best Regards,
----- Original Message -----
From: "Adrian Sulumberchean" <
zull...@gmail.com>
To: <
connectb...@googlegroups.com>
Sent: Sunday, February 09, 2014 9:57 AM
Subject: Sometimes, ssh connection fails with java.io.IOException: Hostkey
signature sent by remote is wrong!
> Hi guys,
>
> I'm trying to establish a ssh connection with a custom GUI but sometimes if
> the remote server is rebooted, when I try to reconnect, I get the following
> output:
>
> 02-09 19:44:37.170: D/SSH(20449): Verifying ssh-rsa signature
> 02-09 19:46:09.200: W/System.err(20449): java.io.IOException: Hostkey
> signature sent by remote is wrong!
> 02-09 19:46:09.200: W/System.err(20449): at
> com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:660)
> 02-09 19:46:09.200: W/System.err(20449): at
> com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:781)
> 02-09 19:46:09.210: W/System.err(20449): at
> com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:475)
> 02-09 19:46:09.210: W/System.err(20449): at
> java.lang.Thread.run(Thread.java:856)
>
> Do you have any ideas on how can I fix this?
>
> Also, please let me know if you need any extra info on this.
>
> --
> You received this message because you are subscribed to the Google Groups
> "ConnectBot Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
connectbot-use...@googlegroups.com.
> To post to this group, send email to
connectb...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/connectbot-users.
> For more options, visit
https://groups.google.com/groups/opt_out.
>