I tried to upload a file called kaldi.sh to google cloud virtual machine.
So I tried gcloud compute scp kaldi.sh vandys-0:~/experiment as guided here https://cloud.google.com/compute/docs/gcloud-compute/. To be more specific:
kaldi.sh is the file I'd like to upload, vandys-0 is my instance name, and experiment is the directory I would like to upload into.
The code runs well but when I activated the google cloud vm shell and entered into directory with path ~/experiemnt (the same as /home/[username]/experiment I believe? ). I found nothing from lsin the experiment directory.
I tried to use gcloud compute scp kaldi.sh [username]@vandys-0:~/experiment in the command instead. But it failed with error :
[username]@35.196.87.176: Permission denied (publickey).
lost connection
Any idea could help.
useryou are copying it to. In this case it isvandys-0. First switch tovandys-0user and then do als- Jananath Banuka