Comments (5)
Let's see if we remove that behavior without breaking anything.
from storm.
Experienced the same issue on 0.7.0
on both Linux (installed via pip
) and macOS (via homebrew
).
Lucky that keywords in per-user ssh_config
are not case-sensitive (arguments are), it's bad behaviour and should be fixed (also bad for the eyes).
from storm.
I've wondered if storm could keep a reference of all SSH config keys and their canonical capitalization, then fix them on write. Keeping them all lowercase internally makes it easier to lookup/sort/etc. This man page looks to be the latest, most complete listing of config options: https://man.openbsd.org/ssh_config
from storm.
Scraping the page gives this list of config options:
['Host',
'Match',
'AddKeysToAgent',
'AddressFamily',
'BatchMode',
'BindAddress',
'BindInterface',
'CanonicalDomains',
'CanonicalizeFallbackLocal',
'CanonicalizeHostname',
'CanonicalizeMaxDots',
'CanonicalizePermittedCNAMEs',
'CASignatureAlgorithms',
'CertificateFile',
'ChallengeResponseAuthentication',
'CheckHostIP',
'Ciphers',
'ClearAllForwardings',
'Compression',
'ConnectionAttempts',
'ConnectTimeout',
'ControlMaster',
'ControlPath',
'ControlPersist',
'DynamicForward',
'EnableSSHKeysign',
'EscapeChar',
'ExitOnForwardFailure',
'FingerprintHash',
'ForwardAgent',
'ForwardX11',
'ForwardX11Timeout',
'ForwardX11Trusted',
'GatewayPorts',
'GlobalKnownHostsFile',
'GSSAPIAuthentication',
'GSSAPIDelegateCredentials',
'HashKnownHosts',
'HostbasedAuthentication',
'HostbasedKeyTypes',
'HostKeyAlgorithms',
'HostKeyAlias',
'Hostname',
'IdentitiesOnly',
'IdentityAgent',
'IdentityFile',
'IgnoreUnknown',
'Include',
'IPQoS',
'KbdInteractiveAuthentication',
'KbdInteractiveDevices',
'KexAlgorithms',
'LocalCommand',
'LocalForward',
'LogLevel',
'MACs',
'NoHostAuthenticationForLocalhost',
'NumberOfPasswordPrompts',
'PasswordAuthentication',
'PermitLocalCommand',
'Port',
'PreferredAuthentications',
'ProxyCommand',
'ProxyJump',
'ProxyUseFdpass',
'PubkeyAcceptedKeyTypes',
'PubkeyAuthentication',
'RekeyLimit',
'RemoteCommand',
'RemoteForward',
'RequestTTY',
'RevokedHostKeys',
'SecurityKeyProvider',
'SendEnv',
'ServerAliveCountMax',
'ServerAliveInterval',
'SetEnv',
'StreamLocalBindMask',
'StreamLocalBindUnlink',
'StrictHostKeyChecking',
'SyslogFacility',
'TCPKeepAlive',
'Tunnel',
'TunnelDevice',
'UpdateHostKeys',
'User',
'UserKnownHostsFile',
'VerifyHostKeyDNS',
'VisualHostKey',
'XAuthLocation']
And to play along at home:
import re
import httpx
from bs4 import BeautifulSoup
ssh_config_man = httpx.get("https://man.openbsd.org/ssh_config")
soup = BeautifulSoup(ssh_config_man.text)
headers = soup.find_all("a", class_="permalink")
config_keys = [c.text for c in headers if re.match(r"[A-Z]+[a-z]+", c.text)]
from storm.
Also, a PR similar to this has been open for a long time: #130
I've submitted #174 to implement my fix above.
from storm.
Related Issues (20)
- Adding hosts with ipv6 impossible HOT 3
- Feature request: Cloud Sync HOT 4
- A branch of Golang implements
- Backup and restore for a gist(github/gitlab/etc) HOT 1
- Should this project be considered dead? HOT 10
- Build fails on python 3.2/python 3.3 HOT 2
- Tag the most recent release and push to https://pypi.org/ HOT 7
- Is there a way to define the config file as an include in the ~/.ssh/config? HOT 1
- Build failed on Python 3.6.5 - Gentoo HOT 1
- Startup service
- Storm stop working on MacOS 10.15 Beta HOT 1
- Terminal Colour stripped when filtering with grep and host uses custom options
- Nix Packaging?
- RFE: Add support to remove a given host from known_hosts
- Support indepotent behavior for add / remove
- Project dependencies may have API risk issues
- collections.Callable is deprecated HOT 1
- proxyjump not supported
- Blowfish is deprecated message HOT 1
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 storm.