Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/dotfiles
Path: blob/master/files/ssh
245 views
Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"

Host github.com-personal
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_rsa_yubikey.pub

Host github.com
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_ed

Host devserver
  ForwardAgent yes
  ForwardX11 yes
  RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent

Host irc
  User irssi
  RequestTTY force
  RemoteCommand tmux a

Host temple
  HostName temple.lan
  ForwardX11 yes
  ForwardAgent yes