3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AWS EC2(ubuntu)にローカルからファイルを転送する方法

Last updated at Posted at 2019-03-28

仮想マシンにローカルからファイルを転送(共有)する方法

使用環境
EC2 ubuntu
Mac
pemのパス ~/.ssh/togari.pem
送りたいファイル ~/Downloads/tutorial.bna
送りたい環境 ubuntu@ec2-13-59-227-101.us-east-2.compute.amazonaws.com
送信先のファイルの場所 /home/ubuntu

$ scp -i pemのパス 送りたいファイル 送りたい環境:送信先のファイルの場所
$ scp -i ~/.ssh/togari.pem ~/Downloads/tutorial.bna ubuntu@ec2-13-59-227-101.us-east-2.compute.amazonaws.com:/home/ubuntu
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?