We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi all, When new instance with:
server = connection.servers.create( :name => "fog-smoke-test-#{Time.now.to_i}", :disks => [disk], :machine_type => "n1-standard-1", :private_key_path => File.expand_path("~/.ssh/id_rsa"), :public_key_path => File.expand_path("~/.ssh/id_rsa.pub"), :zone => "us-central1-f", :username => ENV["USER"], :tags => ["fog"], :service_accounts => { :scopes => %w(sql-admin bigquery https://www.googleapis.com/auth/compute) } )
I generated SSH key and new instance is suscess but I dont see any ssh key for VM instance. Please help me recheck.
Thanks
The text was updated successfully, but these errors were encountered:
@EUGinsane Thank you for filing this!!! I found a regression, will fix it soon. Until then you can workaround by doing this after create:
server.add_ssh_key(ENV["USER"], File.expand_path("~/.ssh/id_rsa.pub"))
Apologies for the hassle m(_ _)m
Sorry, something went wrong.
Fix has been pushed, this will be released with 1.6.0
1.6.0
Thanks @Temikus , I want to ask one question. When I created Windows instance, how to connection to this vm ?
@EUGinsane This isn't implemented directly in fog, I'm afraid. There are 2 ways to connect - PowerShell and RDP[1]
If you go RDP route you can add an exec() in your script/app that will call the rdp client of choice. Concerning powershell, I'm not sure.
[1] https://cloud.google.com/compute/docs/instances/connecting-to-instance
No branches or pull requests
Hi all,
When new instance with:
I generated SSH key and new instance is suscess but I dont see any ssh key for VM instance. Please help me recheck.
Thanks
The text was updated successfully, but these errors were encountered: