Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9282643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:25:41+00:00 2026-06-18T18:25:41+00:00

In order to bundle and connect to Github as my normal self within my

  • 0

In order to bundle and connect to Github as my normal self within my VM, I’d like to config.vm.share_folder "ssh", "/home/vagrant/.ssh", "~/.ssh".

Except this breaks vagrant’s public/private key authentication.

Attempted Solution #1

I tried to copy my public key to also be authorized_keys. Same behavior; I need to enter a password to vagrant ssh.

Attempted Solution #2

Copy the public key to authorized_keys, but also set config.ssh.private_key_path = "~/.ssh/id_dsa". This just screwed everything up, though.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T18:25:42+00:00Added an answer on June 18, 2026 at 6:25 pm

    I think what you want to look into is SSH agent forwarding. Vagrant has a configuration option to enable this. If you are already running an SSH agent locally this is definitely the way to go.

    In fact, even if you aren’t running an SSH agent, I would still suggest looking into it.

    An alternate, but horribly dirty, solution might be to use a vagrant shell provisioner to place your private key in ~/.ssh/ and set the relevant entries in ~/.ssh/config. Something like:

    Host *
        IdentityFile ~/.ssh/my_non_vagrant_key
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In order to make bundle work on its own i would like to call
I wrote this code in order to make a soundboard like app public class
In order to achieve spriting by compass according to the documentation I wrote this:
I'm currently using Visual Studio Web Essentials in order to bundle and minify my
gryzzly is told me to update my best_in_place version from github, in order to
I run: $ bundle exec rspec spec/ And receive this message: C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.1/lib/rspec/core.rb:78:in `require': no
I am in the process of deleting an app from iTunes Connect in order
I ran bundle update in order to get an update on a few gems
In order to connect to facebook in my ios app i'm using FBLoginVIew from
I have below XML <?xml version=1.0 encoding=utf-8?> <Order> <Bundle> <itemList> <item> <id>1</id> </item> <item>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.