Git Config

Just a mind note, as always.

Host *
  User gutocarvalho
  # keepalive
  TCPKeepAlive yes
  ServerAliveInterval 10800
  # network config
  AddressFamily inet
  Compression yes
  Protocol 2
  # log config
  LogLevel INFO
  # GSSAPI config
  GSSAPIAuthentication no
  GSSAPIDelegateCredentials no
  # checkings
  VerifyHostKeyDNS no
  StrictHostKeyChecking no
  # hosts obfuscation
  #HashKnownHosts yes
  # ciphers
  Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
  # connection control
  ControlPath ~/.ssh/controlmasters/%r@%h:%p
  ControlMaster auto
  ControlPersist yes
  # algoritms
  HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa
 KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256
 MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com

## special domain

Host *.domain.ai *.domain.sh *.domain.io
  User gcarvalho
  Port 2222
  IdentityFile /path/to/your/ssh/key

## internal network password

Host 192.168.1.*
  User ubnt
  Port 22
  PreferredAuthentications password
  PubkeyAuthentication no
  ControlMaster no

## internal network sshkey

Host 192.168.222.*
  User ansible
  Port 8820
  IdentityFile /path/to/your/ssh/key
  ControlMaster no

## git services

Host github github.com
  HostName github.com
  PreferredAuthentications publickey
  IdentityFile /path/to/your/ssh/key
  User gutocarvalho

Host bitbucket bitbucket.org
  HostName bitbucket.org
  PreferredAuthentications publickey
  IdentityFile /path/to/your/ssh/key
  User gutocarvalho

Host gitlab gitlab.com
  HostName gitlab.com
  PreferredAuthentications publickey
  IdentityFile /path/to/your/ssh/key
  User gutocarvalho

## other services

Host mastodon-prod
  Hostname host.domain.tld
  User gutocarvalho
  Port 4430
  IdentityFile /path/to/your/ssh/key

Host mastodon-dev
  Hostname host.domain.tld
  User gutocarvalho
  Port 4431
  IdentityFile /path/to/your/ssh/key


Did you like our content?

We have a lot to share; visit our site!

Our fediverse services ;)

Chat and video? We have it!

Translation tools

Video Platform Frontends

Text Editors

You can also visit our hacking space!

Follow our founder!

Follow the status of our tools

Do you want to support us? You can!

See you!

[s]