Comments (3)
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.
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.
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)
- error with -o option HOT 1
- Running in non-verbose mode with "ssh -v" HOT 1
- Dependency Dashboard
- HostNames always come out commented HOT 3
- release binaries missing HOT 1
- How does the `User` applied? HOT 2
- SSH connection not closed
- Fails to build on macOS HOT 3
- Add alias based on a part of the original hostname.
- How to SSH by given name key and hostname IP address HOT 1
- Does it support getting every line of commands executed by the client user and record it?
- installation not working as in readme
- ASSH with AWS SSM
- txt
- Config out of date after version upgraded by brew
- Integration with autossh
- Debian bullseye gateway failure due to outdated exchange HOT 1
- HostName fallback?
- the hostname could not be number HOT 1
- [feature request] assh config add subcommand
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assh.