Update SSH configuration to use XDG directories
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
5769f2f8e3
commit
5d2adad235
4 changed files with 19 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -55,3 +55,5 @@ system/.config/phpstorm/config/options/web-types-registry.xml
|
||||||
system/.config/phpstorm/config/options/vcs.xml
|
system/.config/phpstorm/config/options/vcs.xml
|
||||||
system/.config/phpstorm/config/options/notifications.xml
|
system/.config/phpstorm/config/options/notifications.xml
|
||||||
system/.config/mpd/database
|
system/.config/mpd/database
|
||||||
|
|
||||||
|
*id_rsa*
|
1
install
1
install
|
@ -69,6 +69,7 @@ LINKED_FILES_HOME=(
|
||||||
".config/redshift"
|
".config/redshift"
|
||||||
".config/sqlite3"
|
".config/sqlite3"
|
||||||
".config/streamlink"
|
".config/streamlink"
|
||||||
|
".config/ssh"
|
||||||
".config/sxhkd"
|
".config/sxhkd"
|
||||||
".config/topgrade.toml"
|
".config/topgrade.toml"
|
||||||
".config/Trolltech.conf"
|
".config/Trolltech.conf"
|
||||||
|
|
2
system/.config/ssh/config
Normal file
2
system/.config/ssh/config
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Host *
|
||||||
|
IdentityFile /home/severin/.config/ssh/id_rsa
|
14
system/.local/bin/ssh
Executable file
14
system/.local/bin/ssh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# SCRIPT NAME:
|
||||||
|
# ssh
|
||||||
|
#
|
||||||
|
# AUTHOR:
|
||||||
|
# Severin Kaderli <severin@kaderli.dev>
|
||||||
|
#
|
||||||
|
# DESCRIPTION:
|
||||||
|
# Wrapper script for ssh to use XDG directories
|
||||||
|
#
|
||||||
|
# USAGE:
|
||||||
|
# ./svn
|
||||||
|
"/usr/bin/ssh" -F "${XDG_CONFIG_HOME}/ssh/config" "${@}"
|
Loading…
Add table
Add a link
Reference in a new issue