LoginSignup
1
1

More than 5 years have passed since last update.

鍵認証のサーバーにファイル転送コマンド

Posted at

rsync -avze "ssh -i /home/hogehoge/id_rsa.rsa" /転送元/ user-name@xxx.xxxxx.xxx:/転送先/

phpからはsystem()コマンドなどで使える
http://php.net/manual/ja/function.system.php

lsync との合わせ技でごにょごにょ出来るっぽい

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