Giter Site home page Giter Site logo

Comments (8)

github-actions avatar github-actions commented on May 29, 2024

This issue is stale because it has been open for 30 days with no activity.

from termscp.

github-actions avatar github-actions commented on May 29, 2024

This issue was closed because it has been inactive for 7 days since being marked as stale.

from termscp.

farzadmf avatar farzadmf commented on May 29, 2024

Wow, really nice!!! Someone opens an issue, simply ignore it until the bot closes it!!!!

from termscp.

veeso avatar veeso commented on May 29, 2024

@farzadmf then implement yourself. Everybody can contribute to the project, not just me. If nobody has ever opened a PR it means that there's no interest in it. Just for the record then, it's not supported by the ssh2-rs lib as far as I know. I want also to remind you that I don't get paid for this.

from termscp.

farzadmf avatar farzadmf commented on May 29, 2024

Yeah, sorry @veeso ; you're right; I was a bit tired trying different things and see them not working because of this feature. I apologize.

Unfortunately, at least for now, I just needed something to work with my setup, without me needing to invest on it (of course, it doesn't help that I'm not super efficient with Rust).

I was so happy to find this, and then I realized it doesn't work with my setup, hence the message. I apologize again, and I just did what I hate other people doing, sorry!

from termscp.

slax-creator avatar slax-creator commented on May 29, 2024

@veeso hey, thanks for letting us know. I got it working with proxychains for my use case. Might give that a try @farzadmf

from termscp.

farzadmf avatar farzadmf commented on May 29, 2024

@slax-creator Interesting! How did you do it?

I have this in my config (termscp's config has set to its path):

Host myhost
  HostName <the-actual-host-name>
  User farzadmf
  ProxyCommand=<proxy-command> %h
	ControlPath <control-masters>-%C
	ControlMaster auto
	ControlPersist 30m
  ServerAliveInterval 15
  ServerAliveCountMax 44
  RemoteForward [localhost]:<local-port> [localhost]:<local-port>

And when I do termscp myhost, it's giving me an error saying

IO error (Could not parse configuration file: expected port number)

from termscp.

slax-creator avatar slax-creator commented on May 29, 2024

@farzadmf so I use wsl2 on my windows laptop at work. I don't think I have changed anything in my termscp config other than point it to my .ssh/config (which honestly I don't think it uses anything from that).

I also run cntlm proxy in wsl2 to access our corporate proxy through which I can access some systems - cntlm proxy listens on port 3128.

Then in my /etc/proxychains.conf I have:
http 127.0.0.1 3128
Dns 1.2.3.4 (whatever your DNS server is)

And then I just do: proxychains termscp

I can't get DNS to resolve though, so I just use IPs for the systems I need to access behind that proxy - but it works just fine for me.

Hope that helps.

from termscp.

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.