Serial console: ssh host key verification failed

Recently I encountered a problem of ‘host key verification failed’ when I was trying to connect to host while being on the serial console.

debug mode says ‘/dev/tty’ does not exists, while it does.

but problem is : you are on serial console which is /dev/ttyS0 not /dev/tty, so now you can guess what to do :

create a symlink of /dev/ttyS0 to /dev/tty

ln -s /dev/ttyS0 /dev/tty

it’s done.

or setup password less remote login.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s