I'm doing some experiments with some computers I have, I have the following scenario
local network
host1 [ubuntu]
vps [internet]
host2 [CentOS]
I have an external hard disk
connected to the host1
and my goal is to be able to access those files from the host2
(VPS)
I can reach the host2 from the host1 over ssh but not backwards
host1 ---ssh--> host2 //possible
host1 <--ssh--- host2 //not possible
what I have done so far:
I tried using sshfs
with reverse tunneling but I just can't have it work, I have seen lot's of examples where the connection is done from host2
to host1
but in my case since I can't ssh to host1 the samples I see don't work and there is very little info about reverse tunneling with sshfs
also, I tried with mount-on but it didn't work
is this possible under these conditions? if so, what am I missing? is there something easier?
thank you