Docunext


Host key verification failed.

June 19th, 2010

This error was greeting me when I'd try to ssh. Increasing the verbosity sheds some light:

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 128/256
debug2: bits set: 491/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug2: no key of type 0 for host dev-48-gl
debug2: no key of type 2 for host dev-48-gl
debug1: read_passphrase: can't open /dev/tty: Permission denied
Host key verification failed.

I did this as root:

chmod a+rw /dev/tty

Which helped a little, but now I'm hanging here:

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 128/256
debug2: bits set: 512/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug2: no key of type 0 for host dev-48-gl
debug2: no key of type 2 for host dev-48-gl

Hmmmm. I rebooted and it was fixed... I think because I had installed udevd recently.

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022