LoginSignup
1
1

More than 5 years have passed since last update.

SCPでサーバーにファイルを転送する

Last updated at Posted at 2012-04-11

MACでアップロードするためのだけに、Filezilla等のFTPソフト起動するのが嫌なので(少しでも軽くしたい
そして、いつも忘れてしまうのでメモ

scp -P ポート ファイル名 ユーザー名@サーバーアドレス:保存先

# ファイルの場合
scp -P 10122 /tmp/test.png srea@xxxx.jp:/tmp/

# ディレクトリの場合
scp -r ./tmp srea@xxxx.jp:/tmp/
1
1
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
1
1