Skip to content

Instantly share code, notes, and snippets.

View the-mova's full-sized avatar
🖱️
Setting up my Github

mova the-mova

🖱️
Setting up my Github
View GitHub Profile
@the-mova
the-mova / windows-commands.md
Last active June 2, 2024 23:06
Windows ~ Useful commands

Generate SSH key with ed25519 cryptography algorithm


 ssh-keygen -t ed25519 -C "personal github account ~ the-mova"

Run program (e.g. SSMS) as a different user


runas /netonly /user:domainname\username Ssms.exe
@the-mova
the-mova / github-ssh-config.md
Last active June 2, 2024 23:06
Github ~ SSH Config

SSH config file to setup and use one or more github account(s)

# Personal github account ~ uses public key
Host gh_personal
	HostName github.com
	PreferredAuthentications publickey
	IdentityFile ~/.ssh/gh_personal
	
# Work github account ~ uses public key