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

  • SEARCH
  • Home
  • 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 8530563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:16:38+00:00 2026-06-11T09:16:38+00:00

I manually deploy websites through SSH, I manage source code in github/bitbucket. For every

  • 0

I manually deploy websites through SSH, I manage source code in github/bitbucket. For every new site I’m currently generating a new keypair on the server and adding it to github/bitbucket, so that I can pull changes from server.

I came across a feature in capistrano to use local machine’s key pair for pulling updates to server, which is ssh_options[:forward_agent] = true

How can I do something like this and forward my local machine’s keypair to the server I’m SSH-ing into, so that I can avoid adding keys into github/bitbucket for every new site.

  • 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-11T09:16:39+00:00Added an answer on June 11, 2026 at 9:16 am

    This turned out to be very simple, complete guide is here Using SSH Forwarding

    In essence, you need to create a ~/.ssh/config file, if it doesn’t exist.

    Then, add the hosts (either domain name or IP address in the file and set ForwardAgent yes)

    Sample Code:

    Host example.com
        ForwardAgent yes
    

    Makes SSH life a lot easier.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Very simple Winforms application I want to deploy manually. Can all the referenced assemblies
I am currently manually managing the lifecycle of objects in my project. I am
When trying to deploy a new web api project which is created from the
I'm trying to deploy a Joomla 1.5 site developed locally. I'm not using the
I have to manually deploy my servlet war packages on an Apache tomcat instance
I am trying to deploy a Maven site to an FTP server. I am
Manually built: [btnRun addTarget:self action:@selector(RunApp:) forControlEvents:UIControlEventTouchUpOutside]; Programmatically built: something of the following like ??
Does it need manually close InputStream (bean.getContentAsStream()) in java after pass to Spring JDBC
Do we need to manually import in main project the user location graphical assets
How can I handle manually the 404 error in C#? I want to check

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.