##環境
・ Mac OS sierra
・ vagrant 1.9.1
・ vccw 3.1.0
・ エックスサーバー
##エラー内容
vagrantとvccwでwordpressのローカル開発環境を構築し、デプロイしようとしたところ以下エラーが。。
$ wordmove push -w ...... Permission denied (publickey,gssapi-keyex,gssapi-with-mic). rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.1]
##行ったこと
こちらのサイトを参考に、後悔するエックスサーバー側の公開鍵の設定は行いました。
またchmodでパーミッションを600に変えています。
Movefileの設定は以下の通りです。
IDやパスは置き換えています。
local: vhost: "ローカルドメイン" wordpress_path: "/var/www/html" # use an absolute path here database: name: "wordpress" user: "wordpress" password: "wordpress" host: "localhost" charset: "utf8" # paths: # you can customize wordpress internal paths # wp_content: "wp-content" # uploads: "wp-content/uploads" # plugins: "wp-content/plugins" # mu_plugins: "wp-content/mu-plugins" # themes: "wp-content/themes" # languages: "wp-content/languages" production: vhost: "公開ドメイン" wordpress_path: "/home/ユーザー名/ドメイン/public_html" # use an absolute path here database: name: "ユーザー名_wp1" user: "ユーザー名_wp1" password: "パスワード" host: "xxxx.xserver.jp" port: "3308" # Use just in case you have exotic server config mysqldump_options: "--max_allowed_packet=50MB" # Only available if using SSH exclude: - ".git/" - ".gitignore" - ".sass-cache/" - "bin/" - "tmp/*" - "Gemfile*" - "Movefile" - "wp-config.php" - "wp-content/*.sql" ssh: host: "サーバーID.xsrv.jp" user: "サーバーID" port: 10022 rsync_options: "--verbose"
なにぶんvagrantもsshも初めてなので無知なことばかりですが、お助け願います。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。