I'm trying to transfer one file from local machine to my VM in Computer Engine.
I'm running the following command:
gcloud compute scp test.txt instance-name:/usr/bin/
Then, after some second I get a message of connection timeout. Exited with return code 1.
Following this guide but as much stuff inside Google Cloud Tutorials, they're really sparse and superficial.
Anyway, I downloaded netcat and when I run
nc [EXTERNAL_IP] 22
I get no reponse... And there's no step beyond that...You're trapped... Any ideas?
- default-allow-ssh is set to permitted on port 22.
- ssh keys were generated.
** Edit 2019-04-11 - 14:15
While I was working with Windows environment, installed Debian for Windows subsystems, and with bash console, followed the same process, now I get this error:
** Edit 2019-04-11 - 14:33
Looks like the connection is not even hitting my VM firewall. Nothing is being logged at Stackdriver (it's active for the 'default-allow-ssh' recording ,but I don't know if something was supposed to be logged there).
** Edit 2019-04-11 - 15:52 Following the steps from Google Troubleshooting (startup script): https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-ssh
I get this data, when I tried to log in:
** Edit 16:55,
I tried almost every method displayed here https://cloud.google.com/compute/docs/instances/transfer-files#transfergcloud
Still no clue, there must be something blocking out my access.