[RUBY] File transfer to virtual environment that could not be solved even after trying for a day: Memorandum

Notes on transferring files to virtual environments

scp file name to send to file name to send:~/

I tried to transfer it with, but it didn't work. Refer to the following site https://qiita.com/JJJJJJJJ/items/5a8ff64ff89dad404e82 https://teratail.com/questions/122671 https://blog.katty.in/853 https://qiita.com/shuthimaru/items/2334f63845d8b0d85bdd

Check the IP with vagrant faile and write to hosts with vim editor.

scp file name to send to file name to send:~/

Re-challenge with

ssh: Could not resolve hostname @@@: nodename nor servname provided, or not known
lost connection

Was no good

ping host name

If you check with

PING @@@ (@@@): 56 data bytes
64 bytes from @@@: icmp_seq=0 ttl=64 time=0.612 ms

It is returning properly.

file name to send scp host name:~/

Change from directory name to specified host name Advanced but password required I don't know, so I put the path of vagrant or the Mac itself, but it doesn't work

It doesn't work so rebuild with vagrant destroy and vagrant up

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Get angry.

ssh-keygen -R @@@

Delete the folder that caused the error Reference: https://qiita.com/grgrjnjn/items/8ca33b64ea0406e12938

file name to send scp host name:~/

I tried it again, but I asked for a password, and I couldn't do anything, so I was disappointed.

Other reference sites https://kekaku.addisteria.com/wp/20190129104147 https://qiita.com/grachro/items/4d34a43a9a57946f3693 https://teratail.com/questions/95371 https://qiita.com/katsukii/items/c3df0653ac07d41fe03f

Recommended Posts

File transfer to virtual environment that could not be solved even after trying for a day: Memorandum
Solved the problem that apt-get update could not be executed on Ubuntu (Virtual Box) on Windows.
A story that even a man who does not understand C language could add new functions to Ruby 2.6
To not be a static uncle
[Docker] How to create a virtual environment for Rails and Nuxt.js apps
A story that was embarrassing to give anison file to the production environment
What to do if you get Could not save master table to file after importing a project in Eclipse