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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:03:59+00:00 2026-05-27T02:03:59+00:00

I have a share (on Machine-A) mounted via sshfs on Machine-B. From Machine-C, I

  • 0

I have a share (on Machine-A) mounted via sshfs on Machine-B. From Machine-C, I have this share mounted also via sshfs (double sshfs) like so:

On Machine-C: /mnt/Machine-B/target_share

On Machine-B: /mnt/Machine-A/target_share

On Machine-A: /media/target_share

Now I have a Python program that runs fine in all places tested (including Machine-C on its local file system) except from Machine-C on the drive that lives on Machine-A, but is mounted on Machine-B.

The reason I am running the Python program from Machine-C is that it has the resources necessary to run it. I have run it on Machine-A and Machine-B and it has maxed the memory out on each, thereby failing each time. I have tried to mount the target_share on Machine-B with this type of command as well:

sudo mount -t cifs -o username=<username>,password=<password> //Machine-A/target_share /mnt/target_share

But this doesn’t seem to work each way I have tried it, i.e., with different credentials, with and without credentials, etc.

To make matters worse, one caveat is that I can only SSH into Machine-B from Machine-C. I cannot directly access Machine-A from Machine-C, which, if I could, would probably make all this work just fine.

The Python program runs on Machine-C but the logic in the middle that I need to work doesn’t run and gives no errors. It basically starts, and then ends a few seconds later.

I am relatively new to Python. Also, not sure if this post would be better on another board. If so, let me know or move as necessary.

I can post the Python code as well if I need to.

My apologies for the complicated post. I didn’t know how else to explain it.

Thanks in advance.

  • 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-27T02:04:00+00:00Added an answer on May 27, 2026 at 2:04 am

    I found that there may be a bug in sshfs, such that if a user on a Linux system has the same user ID as another, i.e., 1002, but different usernames, this causes problems.

    The way I worked around this was to actually avoid sshfs for this case all together and mount the drives directly to a local system. I wanted to avoid this because I couldn’t do this from a remote location, but it gets the job done.

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

Sidebar

Related Questions

I have a Windows XP machine and a Linux machine running Ubuntu. I share
I'm building a music events website and want to have a 'share this event'
I currently have both Python 2.6 and 2.7 running on my Linux machine. Now,
I have an application which uses gtkmm. The client's machine does not have this
We have a method that accesses a network share. This method works fine when
I have 2 programs that share a header file. This header file defines a
I have been going through this page to install zend framework on my machine
For someone who's been down this road, please share your breadcrumbs. I have old
I have the following setup: Code on my local machine (OS X) shared as
Say you have 2 share libraries, lib1.so and lib2.so, that both have libcommon.a statically

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.