Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DB バックアップを使用して実行している Ubuntu サーバーがあります。バックアップを取得するには?ログインに *.pem ファイルを使用しています。私はmailxでメールを試しています。コマンドを実行しましたが、成功しませんでした。エラー メッセージが表示されない
echo "something" | mailx -s "subject" mymail@gmail.com
これは添付ファイルがないことを認識しています。これを機能させる方法は?wget には URL が必要ですか?
scpSSH 経由で実行されるため、 よりもはるかに安全な を使用することをお勧めしwgetます。これを行うには、SSH サーバーを実行する必要があります。
scp
wget
作業ディレクトリにファイルを取得する正しい使用法は次のとおりです。
$ scp -i myPem.pem ubuntu@ec2-77-237-115-112.eu-west-1.compute.amazonaws.com:/home/ubuntu/logo.png .