sshfs two hops mount failure Unicorn Meta Zoo #1: Why another podcast? ...

What was Apollo 13's "Little Jolt" after MECO?

As an international instructor, should I openly talk about my accent?

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

What is /etc/mtab in Linux?

What's the difference between using dependency injection with a container and using a service locator?

Can I criticise the more senior developers around me for not writing clean code?

std::is_constructible on incomplete types

How to translate "red flag" into Spanish?

What is it called when you ride around on your front wheel?

Does Mathematica have an implementation of the Poisson Binomial Distribution?

How would this chord from "Rocket Man" be analyzed?

Mistake in years of experience in resume?

Second order approximation of the loss function (Deep learning book, 7.33)

Multiple fireplaces in an apartment building?

PIC mathematical operations weird problem

How to count in linear time worst-case?

Would reducing the reference voltage of an ADC have any effect on accuracy?

Why isn't everyone flabbergasted about Bran's "gift"?

My admission is revoked after accepting the admission offer

Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?

How to not starve gigantic beasts

What's parked in Mil Moscow helicopter plant?

Could moose/elk survive in the Amazon forest?

Married in secret, can marital status in passport be changed at a later date?



sshfs two hops mount failure



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionsshfs mount, sudo gets permission deniedLazy mount of remote filesystem (with sshfs)Hop scp and sshfs using ssh tunnelssshfs over mosh tunnelreverse tunnel on a multi hops ssh tunnelHow to chain ssh commands over multiple hops?sshfs through multiple hosts?Run command over two ssh hopssshfs through two hops?Analyze traffic between multiple ssh hops in a ssh chain





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I was trying to mount the working directories by two hops, here are my command, first I created a tunnel then I use sshfs to mount the remote directory:



➜  ~ ssh -fN user1@web2001.web.org -L 2221:web2002:22 -p 425
➜ ~ sshfs -p 2221 user1@localhost:ProjectDir ~/Workspace/mount/ProjectDir -d


Normally I log into the machine by: ➜ ~ ssh -p 425 user1@web2001.web.org then user1@web2001:~$ ssh user1@web2002.



Here is the error message:



➜  ~ sshfs -p 2221 user1@localhost:ProjectDir ~/Workspace/mount/ProjectDir -d 
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
The authenticity of host '[localhost]:2221 ([::1]:2221)' can't be established.
ECDSA key fingerprint is SHA256:KAn/SnHq/Elgpxxxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2221' (ECDSA) to the list of known hosts.
user1@localhost's password:
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 8741
INIT: 7.19
flags=0xf8000008
max_readahead=0x00100000
INIT: 7.19
flags=0x00000010
max_readahead=0x00100000
max_write=0x02000000
max_background=0
congestion_threshold=0
unique: 2, success, outsize: 40
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 0
statfs /
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 113
getattr /
unique: 3, success, outsize: 96
unique: 2, success, outsize: 136
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 68
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 113
statfs /
statfs /
unique: 3, success, outsize: 96
unique: 2, success, outsize: 96
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 113
statfs /
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 207
access / 00
unique: 2, success, outsize: 16
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 66
access / 00
unique: 2, success, outsize: 16
unique: 3, success, outsize: 96
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 66
statfs /
unique: 3, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 293
access / 00
unique: 3, success, outsize: 16
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 293
statfs /
unique: 4, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 290
access / 00
unique: 4, success, outsize: 16
unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 290
statfs /
unique: 5, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 294
access / 00
unique: 5, success, outsize: 16
unique: 5, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 294
statfs /
unique: 6, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 346
access / 00
unique: 6, success, outsize: 16
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 346
statfs /
unique: 7, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 373
access / 00
unique: 7, success, outsize: 16
unique: 7, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 373
...
umount: /Users/user1/Workspace/mount/ProjectDir: not currently mounted


My question is what the error message means and how can I fix it?










share|improve this question























  • Is the ellipsis part of the output, or you truncating it? If the latter, post the complete output, since this snippet only contains success messages.

    – muru
    13 mins ago


















0















I was trying to mount the working directories by two hops, here are my command, first I created a tunnel then I use sshfs to mount the remote directory:



➜  ~ ssh -fN user1@web2001.web.org -L 2221:web2002:22 -p 425
➜ ~ sshfs -p 2221 user1@localhost:ProjectDir ~/Workspace/mount/ProjectDir -d


Normally I log into the machine by: ➜ ~ ssh -p 425 user1@web2001.web.org then user1@web2001:~$ ssh user1@web2002.



Here is the error message:



➜  ~ sshfs -p 2221 user1@localhost:ProjectDir ~/Workspace/mount/ProjectDir -d 
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
The authenticity of host '[localhost]:2221 ([::1]:2221)' can't be established.
ECDSA key fingerprint is SHA256:KAn/SnHq/Elgpxxxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2221' (ECDSA) to the list of known hosts.
user1@localhost's password:
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 8741
INIT: 7.19
flags=0xf8000008
max_readahead=0x00100000
INIT: 7.19
flags=0x00000010
max_readahead=0x00100000
max_write=0x02000000
max_background=0
congestion_threshold=0
unique: 2, success, outsize: 40
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 0
statfs /
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 113
getattr /
unique: 3, success, outsize: 96
unique: 2, success, outsize: 136
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 68
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 113
statfs /
statfs /
unique: 3, success, outsize: 96
unique: 2, success, outsize: 96
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 113
statfs /
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 207
access / 00
unique: 2, success, outsize: 16
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 66
access / 00
unique: 2, success, outsize: 16
unique: 3, success, outsize: 96
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 66
statfs /
unique: 3, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 293
access / 00
unique: 3, success, outsize: 16
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 293
statfs /
unique: 4, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 290
access / 00
unique: 4, success, outsize: 16
unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 290
statfs /
unique: 5, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 294
access / 00
unique: 5, success, outsize: 16
unique: 5, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 294
statfs /
unique: 6, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 346
access / 00
unique: 6, success, outsize: 16
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 346
statfs /
unique: 7, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 373
access / 00
unique: 7, success, outsize: 16
unique: 7, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 373
...
umount: /Users/user1/Workspace/mount/ProjectDir: not currently mounted


My question is what the error message means and how can I fix it?










share|improve this question























  • Is the ellipsis part of the output, or you truncating it? If the latter, post the complete output, since this snippet only contains success messages.

    – muru
    13 mins ago














0












0








0








I was trying to mount the working directories by two hops, here are my command, first I created a tunnel then I use sshfs to mount the remote directory:



➜  ~ ssh -fN user1@web2001.web.org -L 2221:web2002:22 -p 425
➜ ~ sshfs -p 2221 user1@localhost:ProjectDir ~/Workspace/mount/ProjectDir -d


Normally I log into the machine by: ➜ ~ ssh -p 425 user1@web2001.web.org then user1@web2001:~$ ssh user1@web2002.



Here is the error message:



➜  ~ sshfs -p 2221 user1@localhost:ProjectDir ~/Workspace/mount/ProjectDir -d 
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
The authenticity of host '[localhost]:2221 ([::1]:2221)' can't be established.
ECDSA key fingerprint is SHA256:KAn/SnHq/Elgpxxxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2221' (ECDSA) to the list of known hosts.
user1@localhost's password:
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 8741
INIT: 7.19
flags=0xf8000008
max_readahead=0x00100000
INIT: 7.19
flags=0x00000010
max_readahead=0x00100000
max_write=0x02000000
max_background=0
congestion_threshold=0
unique: 2, success, outsize: 40
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 0
statfs /
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 113
getattr /
unique: 3, success, outsize: 96
unique: 2, success, outsize: 136
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 68
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 113
statfs /
statfs /
unique: 3, success, outsize: 96
unique: 2, success, outsize: 96
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 113
statfs /
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 207
access / 00
unique: 2, success, outsize: 16
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 66
access / 00
unique: 2, success, outsize: 16
unique: 3, success, outsize: 96
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 66
statfs /
unique: 3, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 293
access / 00
unique: 3, success, outsize: 16
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 293
statfs /
unique: 4, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 290
access / 00
unique: 4, success, outsize: 16
unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 290
statfs /
unique: 5, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 294
access / 00
unique: 5, success, outsize: 16
unique: 5, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 294
statfs /
unique: 6, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 346
access / 00
unique: 6, success, outsize: 16
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 346
statfs /
unique: 7, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 373
access / 00
unique: 7, success, outsize: 16
unique: 7, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 373
...
umount: /Users/user1/Workspace/mount/ProjectDir: not currently mounted


My question is what the error message means and how can I fix it?










share|improve this question














I was trying to mount the working directories by two hops, here are my command, first I created a tunnel then I use sshfs to mount the remote directory:



➜  ~ ssh -fN user1@web2001.web.org -L 2221:web2002:22 -p 425
➜ ~ sshfs -p 2221 user1@localhost:ProjectDir ~/Workspace/mount/ProjectDir -d


Normally I log into the machine by: ➜ ~ ssh -p 425 user1@web2001.web.org then user1@web2001:~$ ssh user1@web2002.



Here is the error message:



➜  ~ sshfs -p 2221 user1@localhost:ProjectDir ~/Workspace/mount/ProjectDir -d 
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
The authenticity of host '[localhost]:2221 ([::1]:2221)' can't be established.
ECDSA key fingerprint is SHA256:KAn/SnHq/Elgpxxxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2221' (ECDSA) to the list of known hosts.
user1@localhost's password:
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 8741
INIT: 7.19
flags=0xf8000008
max_readahead=0x00100000
INIT: 7.19
flags=0x00000010
max_readahead=0x00100000
max_write=0x02000000
max_background=0
congestion_threshold=0
unique: 2, success, outsize: 40
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 0
statfs /
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 113
getattr /
unique: 3, success, outsize: 96
unique: 2, success, outsize: 136
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 68
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 113
statfs /
statfs /
unique: 3, success, outsize: 96
unique: 2, success, outsize: 96
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 113
statfs /
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 207
access / 00
unique: 2, success, outsize: 16
unique: 2, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 66
access / 00
unique: 2, success, outsize: 16
unique: 3, success, outsize: 96
unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 66
statfs /
unique: 3, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 293
access / 00
unique: 3, success, outsize: 16
unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 293
statfs /
unique: 4, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 290
access / 00
unique: 4, success, outsize: 16
unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 290
statfs /
unique: 5, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 294
access / 00
unique: 5, success, outsize: 16
unique: 5, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 294
statfs /
unique: 6, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 346
access / 00
unique: 6, success, outsize: 16
unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 346
statfs /
unique: 7, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 373
access / 00
unique: 7, success, outsize: 16
unique: 7, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 373
...
umount: /Users/user1/Workspace/mount/ProjectDir: not currently mounted


My question is what the error message means and how can I fix it?







ssh ssh-tunneling






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 4 hours ago









Joe LuJoe Lu

35




35













  • Is the ellipsis part of the output, or you truncating it? If the latter, post the complete output, since this snippet only contains success messages.

    – muru
    13 mins ago



















  • Is the ellipsis part of the output, or you truncating it? If the latter, post the complete output, since this snippet only contains success messages.

    – muru
    13 mins ago

















Is the ellipsis part of the output, or you truncating it? If the latter, post the complete output, since this snippet only contains success messages.

– muru
13 mins ago





Is the ellipsis part of the output, or you truncating it? If the latter, post the complete output, since this snippet only contains success messages.

– muru
13 mins ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f515353%2fsshfs-two-hops-mount-failure%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f515353%2fsshfs-two-hops-mount-failure%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m