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 7681489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:21:12+00:00 2026-05-31T18:21:12+00:00

I am trying to set up SSH connection to Bitbucket using Mercurial. I first

  • 0

I am trying to set up SSH connection to Bitbucket using Mercurial.
I first generated public key, save it, ran ssh-agent, save the public key at bitbucket.
I followed all steps at link : http://confluence.atlassian.com/pages/viewpage.action?pageId=270827678.
I have changed hgrc file at “analysis” repository as

[path]
default = ssh://hg@bitbucket.org/ALab/analysis
....
[ui]
username = Cassie <cassie...@...>

However, when I typed

hg push

It gave me error message such as

Enter passphrase for key '/home/Cassie/.ssh/id_rsa': 
remote: Request for subsystem 'hg -R ALab/analysis serve --stdio' failed on channel 0
abort: no suitable response from remote hg!

I searched online but not many posts about “fail on channel 0”. Anyone has some idea ?
I tried connecting on different local repositories but they all got the same error problem.

Updated part :

I am sorry that I just solved this problem and didn’t know how to delete this post.
So if someone can be kind to let me know, I would like to delete this post by myself.

To help other who encountered similar problem, I forgot to add “ssh = ssh -C” on the configure
file which is required. Thank you very much,

  • 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-05-31T18:21:13+00:00Added an answer on May 31, 2026 at 6:21 pm

    @Clare thanks for your idea. Thus, let me answer the question again.
    I found out that I have to put ssh = ssh -C for all the hgrc files of my local
    repositories to make push via SSH successfully. Hope it helps.

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

Sidebar

Related Questions

I'm using this tool to set up a ssh server on Windows. I'm trying
I am trying to execute unix command using SSH from cygwin. My set of
I am trying to set slingbox connection to class 1:20 using the following commands:
Trying to set up caching on our datasets - we're using clr stored procedures
I'm trying to set up capistrano for pushing my project, using git as VCS.
I'm using Groundwork / Nagios, and I'm trying to set up check_by_ssh. Right now,
I'm trying to set up my first repository on my host and am getting
I am trying to set up git as a first time user and proceeded
I am trying to setup a shared git repository via ssh, copying users public
So, i'm running emacs over a crappy ssh connection and I have it set

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.