Open
Conversation
This was referenced Apr 3, 2017
Closed
added 5 commits
May 29, 2017 14:50
Add .pyc to .gitignore
SyntaxWarning: name 'print' is used prior to global declaration
* Add setting per-shell ssh identity Support changing the active ssh identity by using bash functions to set the SSH_IDENT variable for the shell. * Hostname completion Add support for hostname completion with the currently active ssh identity by adding a wrapper script for ssh bash completion that sets the config as a command line option. * Add config option to define bash functions that overload ssh, scp, sftp, and rsync commands * Add tox.ini and fix some pep8 warnings
Custom options to ssh can be specified through the EXTRA_SSH_OPTIONS environment variable.
0271539 to
46d6185
Compare
added 2 commits
August 6, 2019 23:26
Add options --disable-agent, --enable-agent to control whether ssh-ident should load the agent configs for the current agent. When disabled, the default ssh-agent settings will be used.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is more of an request for comments than a ready-to-be-merged PR.
This implements parts of the functionality described in #22 (A command line interface for selecting identity and listing identities and keys).
From the commit message:
To test with a develop install:
In .bashrc
To activate in a shell, execute:
and the active ssh identity should be displayed in the prompt.
Change identity with:
List identities:
Deactivate with
Note: The current bash-completion script depends on ssh bash completion to be available at
/usr/share/bash-completion/completions/ssh