29
32

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.

scpでポートを指定して、フォルダごとサーバーに送信

Posted at

普通にファイルだけ送る場合

scp filename username@hostname:test/here/

サーバーのホームディレクトリからtest/here/直下に置いている。

普通にフォルダごと送る場合

scp -r directory/ username@hostname:test/here/

ポートを指定して、フォルダごと送る場合

scp -r -P port directory/ userame@hostname:test/here/
29
32
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
29
32

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?