Hi eveyrone,
I can’t complete the 1st lab on the 2nd level of Azure.
The VM is available via SSH, the name is correct. The VM can be successfully accessed from the lab host VM using the key file. The name of the file is default. The path to the file is ~/.ssh/default_key_file_name
What am I doing wrong?
Thanks
No, actually: on the azureclient host, it needs to be at ~/.ssh/id_rsa – that’s what we mean by the “default name”.
1 Like
So ok, it worked that way.
Now I have some questions:
- can someone give me at least one reason why this task is considered as a not correctly completed task if your key file has some non default name/path?
- why would not place a little note in the task about putting the key file at ~/.ssh/id_rsa?
- from where should I know how exactly the grader works?
The graders are never all that transparent. Some of this is logic – how can the grader even know what to check for a key pair? For the grader to be able to check an instance, it needs access to a private key file. How’s it gonna guess that? Short of having access to a file (and therefore, a file name and path), it can’t.
Personally, my inclination would be to say explicitly in a task that “the key must be named X”. For whatever reason, they don’t do that. But as convention, using id_rsa as the default key is something that KKE does.
1 Like