@sailing甲骨文vm实例无法ssh进入 中发帖

上周试了下开出来vm实例,但是一直没办法ssh进去,通过nc -vz host 22命令判断是连接成功的。但是使用ssh -i 私钥 ubuntu@host就无法连接,提示Connection closed by xx port 22。 
使用oracle cloud shell也无法进入,进去要使用username password的形式,但是是使用密钥的形式没有密码也无法进去改设置。
这种情况怎么解决?