ホスト名を決める、ubuntu-hostとする。
vagrant ssh-config --host ubuntu-host >> ~/.ssh/config
ホストからゲストへ転送
scp -P 2200 -F ~/.ssh/config myfile vagrant@ubuntu-host:/home/vagrant
参考:
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 3 years have passed since last update.
ホスト名を決める、ubuntu-hostとする。
vagrant ssh-config --host ubuntu-host >> ~/.ssh/config
ホストからゲストへ転送
scp -P 2200 -F ~/.ssh/config myfile vagrant@ubuntu-host:/home/vagrant
参考:
Register as a new user and use Qiita more conveniently
Go to list of users who liked