sshfs with two consecutive ssh authentifications -
with 2 consecutive ssh authentifications mean following:
- i ssh remote system a
- from remote system a, ssh remote system b
there no way ssh b directly.
i have no problems mounting directories using sshfs.
i thought mounting directories b on unfortunately not have sshfs installed. if, not know if works.
is there maybe way access directories on b in convenient way?
looking forward answers.
my ~/.ssh/config
looks now:
host user user hostname a.example.com controlmaster auto controlpath ~/.ssh/%r@%h:%p host b user user hostname b.example.com proxycommand ssh -w %h:%p
how sshfs
command like?
this not work:
sshfs -o allow_other,defer_permissions -o user@b.example.com:/somedir ~/somedir
it outputs error message:
remote host has disconnected
use proxycommand
or proxyjump
transparently end application (sshfs
). example in ~/.ssh/config
host # other configuration options needed host b proxycommand ssh -w %h:%p
then should able use sshfs
transparently directly specifying host b
.
Comments
Post a Comment