Code Monkey home page Code Monkey logo

Comments (3)

moul avatar moul commented on June 14, 2024

yes, it's definitively not clear, actually, the debugging feature are only related to the connect command but not for the build command

I'm actually working on the new Golang version of assh, and I will improve the build-related debugging messages


About your issue, the hostname is commented out in the .ssh/config file, it is related to the way I manage custom hostnames in the Python version of assh, I will try to get rid of this hack in the Golang version and use the real hostname without any comment, but don't care about this comment, while you are using `proxycommand assh connect %h --port=%p', the commented-out hostname will be used by assh !

about the $USER value, it's a little bit strange, still in the Python version, this value is only resolved once when calling connect, the build command won't expand variables in the configuration file.

You should be able to only use the assh command, to build the initial version of the configuration file, then you don't have to use assh manually, that's how I'm using it, I never call any assh command manually, I'm always using the standard ssh command which will call the assh binary using the proxycommand in the configuration :)

In the Golang version, I will try to remove as most as possible amount of direct calls to assh, so the solution will be fully transparent, stay tuned!

from assh.

moul avatar moul commented on June 14, 2024

assh 2.0 is out now, It's a complete refactor in Golang

Since your issue was opened for the 1.x version in Python, I'm closing it now, do not hesitate to reopen it if needed

The debugging/logging was completely rewritten too, you may check it using assh -D proxy myserver

from assh.

liv3010m avatar liv3010m commented on June 14, 2024

Hi there,

Is the issue of the commented hostname still expected on current?
I'm running:
assh version: 2.8.0+dev (HEAD)
Go version: go1.12.7
Python version: 2.7
WSL
Because generating a .ssh/config still comments out the hostname field.

Olivia

from assh.

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.