Coder Social home page Coder Social logo

Comments (5)

MisterTea avatar MisterTea commented on July 19, 2024

from eternalterminal.

AGI-chandler avatar AGI-chandler commented on July 19, 2024

I don't understand why port forwarding is required when we didn't need that to get EternalTerminal working, can you help me understand why?  This is the only way?  

In the Files manager (Gnome), I can open a location like sftp://[remote] | [remote] = short host from ~/.ssh/config, and it will mount my home dir on the remote server somewhere local.  I guess this is actually using sshfs underneath instead of sftp so I'm actually trying to use sshfs and somehow mount a remote dir with EternalTerminal, so it doesn't cause system to hang whenever access is lost.  

I figured a command like: sshfs [remote]: /[mountpoint] -o ssh_command=et could work (this when et [remote] already works fine).  Have tried a few different commands, including using -o ssh_command=ssh-et but everything always ends in read: Connection reset by peer.  I'm guessing that's what the port forwarding would fix?  I can't even figure out how to turn on verbose messages from sshfs though 💢😠

but you'd imagine such an sshfs command would be more like what?

from eternalterminal.

MisterTea avatar MisterTea commented on July 19, 2024

sftp is a protocol that et doesn't implement. What you can do is forward your ssh port and then run sftp over that.

from eternalterminal.

AGI-chandler avatar AGI-chandler commented on July 19, 2024

Sorry for the confusion but can blame Gnome folks for letting me type sftp://example.com and it mounts my home dir on example.com somewhere in ~/.gvfs or something.  Either way, in the background it's really using sshfs command and there's no extra ports or forwarding needed it uses port 22. The point is to have an EternalMount instead of an EternalTerminal.

from eternalterminal.

MisterTea avatar MisterTea commented on July 19, 2024

I started working on a eternal version of sshfs here: https://github.com/MisterTea/CodeFS

I haven't touched it in a while though and it needs to be tested.

from eternalterminal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.