RIGHT:[[Linux 関係覚え書き]] *curl で SCP [#zb4b63c5] ファイル取得 $ curl -k -o hoge.txt -u username scp://exapmle.com:22/tmp/data.txt ファイルアップロード $ curl -k --upload-file hoge.txt -u username scp://example.com:22/tmp/ *認証が必要なページにアクセス [#c1244f81] SSL クライアント認証 $ curl -k --cert 証明書ファイル --key 鍵ファイル --basic -u ユーザ名:パスワード URL BASIC 認証 $ curl --basic -u ユーザ名:パスワード URL DIGEST 認証 $ curl --digest -u ユーザ名:パスワード URL *POST [#r0d423ef] $ curl --data "key=WORD&comment=search&c=search" http://example.com/hiki.cgi *メール送信 [#g962c531] $ curl --mail-from username@example.com --mail-rcpt username2@example.jp --upload-file msg.txt smtp://example.com:25