流动Ubuntu-presise-64通知git:找不到命令



在启动步骤中,它注意:

==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if its present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...

并且不能使用git。

可以使用Vagrant SSH,但没有git&卷曲

这个问题还不清楚。您是否尝试使用sshed进入流浪者,或者即使在瓦格兰特之外的git命令失败?对于以前的情况,您可能需要在Vagrant图像中安装GIT(通过进入它,然后运行sudo apt-get install git)。在后一种情况下,您可能需要生成密钥。遵循本教程https://help.github.com/articles/generating-ssh-keys/

最新更新