mirror of
https://github.com/Adam-Ant/dotfiles
synced 2024-12-20 11:34:35 +00:00
Add gopass support
This commit is contained in:
parent
37275c19c2
commit
61e1933765
69
ssh-ident/config
Normal file
69
ssh-ident/config
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
# SSH-Ident
|
||||||
|
#
|
||||||
|
# Specifies which identity to use depending on the path I'm running ssh
|
||||||
|
# from.
|
||||||
|
# For example: ("mod-xslt", "personal") means that for any path that
|
||||||
|
# contains the word "mod-xslt", the "personal" identity should be used.
|
||||||
|
# This is optional - don't include any MATCH_PATH if you don't need it.
|
||||||
|
#MATCH_PATH = [
|
||||||
|
# # (directory pattern, identity)
|
||||||
|
# (r"mod-xslt", "personal"),
|
||||||
|
# (r"ssh-ident", "personal"),
|
||||||
|
# (r"opt/work", "work"),
|
||||||
|
# (r"opt/private", "secret"),
|
||||||
|
#]
|
||||||
|
#
|
||||||
|
# If any of the ssh arguments have 'cweb' in it, the 'personal' identity
|
||||||
|
# has to be used. For example: "ssh myhost.cweb.com" will have cweb in
|
||||||
|
# argv, and the "personal" identity will be used.
|
||||||
|
# This is optional - don't include any MATCH_ARGV if you don't
|
||||||
|
# need it.
|
||||||
|
#MATCH_ARGV = [
|
||||||
|
# (r"cweb", "personal"),
|
||||||
|
# (r"corp", "work"),
|
||||||
|
#]
|
||||||
|
#
|
||||||
|
# Note that if no match is found, the DEFAULT_IDENTITY is used. This is
|
||||||
|
# generally your loginname, no need to change it.
|
||||||
|
# This is optional - don't include any DEFAULT_IDENTITY if you don't
|
||||||
|
# need it.
|
||||||
|
# DEFAULT_IDENTITY = "foo"
|
||||||
|
|
||||||
|
# This is optional - don't include any SSH_ADD_OPTIONS if you don't
|
||||||
|
# need it.
|
||||||
|
#SSH_ADD_OPTIONS = {
|
||||||
|
# # Regardless, ask for confirmation before using any of the
|
||||||
|
# # work keys.
|
||||||
|
# "work": "-c",
|
||||||
|
# # Forget about secret keys after ten minutes. ssh-ident will
|
||||||
|
# # automatically ask you your passphrase again if they are needed.
|
||||||
|
# "secret": "-t 600",
|
||||||
|
#
|
||||||
|
#}
|
||||||
|
#
|
||||||
|
# This is optional - dont' include any SSH_OPTIONS if you don't
|
||||||
|
# need it.
|
||||||
|
# Otherwise, provides options to be passed to 'ssh' for specific
|
||||||
|
# identities.
|
||||||
|
#SSH_OPTIONS = {
|
||||||
|
# # Disable forwarding of the agent, but enable X forwarding,
|
||||||
|
# # when using the work profile.
|
||||||
|
# "work": "-Xa",
|
||||||
|
#
|
||||||
|
# # Always forward the agent when using the secret identity.
|
||||||
|
# "secret": "-A",
|
||||||
|
#}
|
||||||
|
#
|
||||||
|
# Options to pass to ssh by default.
|
||||||
|
# If you don't specify anything, UserRoaming=no is passed, due
|
||||||
|
# to CVE-2016-0777. Leave it empty to disable this.
|
||||||
|
SSH_DEFAULT_OPTIONS = "-oUseRoaming=no"
|
||||||
|
|
||||||
|
# Which options to use by default if no match with SSH_ADD_OPTIONS
|
||||||
|
# was found. Note that ssh-ident hard codes -t 7200 to prevent your
|
||||||
|
# keys from remaining in memory for too long.
|
||||||
|
SSH_ADD_DEFAULT_OPTIONS = "-t 900"
|
||||||
|
|
||||||
|
# Output verbosity
|
||||||
|
# valid values are: LOG_ERROR, LOG_WARN, LOG_INFO, LOG_DEBUG
|
||||||
|
VERBOSITY = LOG_INFO
|
1
ssh-ident/scp
Symbolic link
1
ssh-ident/scp
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
ssh-ident
|
1
ssh-ident/sftp
Symbolic link
1
ssh-ident/sftp
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
ssh-ident
|
1
ssh-ident/ssh
Symbolic link
1
ssh-ident/ssh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
ssh-ident
|
1029
ssh-ident/ssh-ident
Executable file
1029
ssh-ident/ssh-ident
Executable file
File diff suppressed because it is too large
Load Diff
@ -33,6 +33,10 @@ alias shred='shred -uzn 5'
|
|||||||
alias beet="eval $(docker-machine env DockerOther | sed -n 's/export\s*//gp' | xargs ) docker exec -ti beets beet"
|
alias beet="eval $(docker-machine env DockerOther | sed -n 's/export\s*//gp' | xargs ) docker exec -ti beets beet"
|
||||||
alias beet-restart="eval $(docker-machine env DockerOther | sed -n 's/export\s*//gp' | xargs ) docker restart beets"
|
alias beet-restart="eval $(docker-machine env DockerOther | sed -n 's/export\s*//gp' | xargs ) docker restart beets"
|
||||||
|
|
||||||
|
# If Gopass exists, use it instead of Pass
|
||||||
|
which gopass &>/dev/null && alias pass='gopass'
|
||||||
|
source <(gopass completion zsh)
|
||||||
|
|
||||||
#VirtualEnv
|
#VirtualEnv
|
||||||
export WORKON_HOME=$HOME/.virtualenvs # optional
|
export WORKON_HOME=$HOME/.virtualenvs # optional
|
||||||
export PROJECT_HOME=$HOME/Sync/Programming/Python # optional
|
export PROJECT_HOME=$HOME/Sync/Programming/Python # optional
|
||||||
|
Loading…
Reference in New Issue
Block a user