LoginSignup
0
0

More than 5 years have passed since last update.

scp ローカルからリモートへ(OSX版 -i -p オプション付き)

Posted at

環境

OSX Yosemite

コマンド

scp -i ./identity_file -P 60022 -r ./local_path/send_file username@hostname:~/remote_path/

経緯

manみてオプション確認しても ローカルとリモートのパスの順番は分からなかった。
webに載ってたのはこれだけど、いかない...
scp ユーザ名@リモートのホスト名:コピーしたいリモートのファイル ローカルのコピー先
Linuxと同じと思わせて微妙に違う。OSXの悪い点。

0
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
0
0