Fix bugs in protocol with ssh-keysign