PuTTy “unknown option -o” when trying to connect

為{幸葍}努か 提交于 2019-12-08 04:48:35

问题


following the getting started guide I attempt to create & connect to a datalab vm instance with the command:

datalab create demo

but I get the following pop-up:

then, on ok-ing the error,

connection broken
Attempting to reconnect...

in the command prompt

Any idea how to have the keys generated a different way to allow me to connect?


回答1:


As a workaround, you can try either running the datalab connect demo command from inside of Cloud Shell, or downgrading to version 153.0.0 of the Cloud SDK.

As for your error, this seems to be a newly introduced bug in the 154.0.0 release of the Cloud SDK.

Prior to that, running a command like gcloud compute ssh --ssh-flag=-o --ssh-flag=LogLevel=info demo would have resulted in the "-o LogLevel=info" flag being stripped out of the command prior to it running on Windows.

With the most recent release (154.0.0), however, those flags are now passed to the SSH command as-is. This causes an error on Windows, as the PuTTY CLI does not support the -o flag.

I've filed https://github.com/googledatalab/datalab/issues/1356 to track fixing this issue.

Sorry that you got hit by this.



来源:https://stackoverflow.com/questions/43782470/putty-unknown-option-o-when-trying-to-connect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!