質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
FTP

FTP(File Transfer Protocol)は、ネットワークでのファイル転送を行うための通信プロトコルの1つである。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

Q&A

1回答

2742閲覧

FTPからvagrantにアクセス出来ない

退会済みユーザー

退会済みユーザー

総合スコア0

FTP

FTP(File Transfer Protocol)は、ネットワークでのファイル転送を行うための通信プロトコルの1つである。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

0グッド

0クリップ

投稿2015/12/17 09:10

FTPソフトを使ってVagrantのファイルにアクセスしようと思い、設定に従ってアクセスを試みたのですが、なかなか成功しません。
設定ファイル、情報は以下のとおりになっています。

// Vagrantfile # # # Customize the amount of memory on the VM: # vb.memory = "1024" # end # # View the documentation for the provider you are using for more # information on available options. # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies # such as FTP and Heroku are also available. See the documentation at # https://docs.vagrantup.com/v2/push/atlas.html for more information. # config.push.define "atlas" do |push| # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME" # end # Enable provisioning with a shell script. Additional provisioners such as # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the # documentation for more information about their specific syntax and use. # config.vm.provision "shell", inline: <<-SHELL # sudo apt-get update # sudo apt-get install -y apache2 # SHELL end

linux

1// vagrant ssh-config 2Host default 3 HostName 127.0.0.1 4 User vagrant 5 Port 2222 6 UserKnownHostsFile /dev/null 7 StrictHostKeyChecking no 8 PasswordAuthentication no 9 IdentityFile /Users/iceman/.vagrant.d/boxes/centos64_node.js/0/virtualbox/vagrant_private_key 10 IdentitiesOnly yes 11 LogLevel FATAL
// /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.33.10 vagrant-centos64.vagrantup.com
  • プロトコル(FTP)
  • サーバアドレス(192.168.33.10)
  • ポート(2222)
  • ユーザ名(vagrant)
  • パスワード(vagrant)

どこに原因があるのか分からないのでアドバイスいただけませんか。
よろしくお願いいたします。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

vagrantで起動した仮想マシン内のftpサーバーは起動していますか?

また、selinuxの設定やiptablesの設定を確認してみてはどうでしょうか。

投稿2015/12/17 10:30

sekitaka_1214

総合スコア509

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問