2017-04-04 65 views
0

我想在这里使用此配置:terraform是否支持ssh密码保护密钥?

connection { 
    type = "ssh" 
    user = "root" 
    agent = true 
    private_key = "${file("~/.ssh/id_rsa")}" 
} 

我有错误:

password protected keys are not supported. Please decrypt the key prior to use. 

我也试着删除private_key参数。它只需从ssh-agent读取密钥,但它不起作用。 Terraform版本是0.9.2

回答