Enter = ^M

今天在 terminal 輸入 ssh key 的時候要認證:
Are you sure you want to continue connecting (yes/no)?
輸入 yesenter 之後 變成
Are you sure you want to continue connecting (yes/no)?yes^M
enter 變成 ^M 了....

查了一下應該是 stty terminal line setting 的問題,只要輸入 stty sane 就可以解決。