blog // ~ben

a blog about tildes and other things

tildeverse.org

July 15, 2018 — ~ben

since the last time i wrote a post here, i've registered the tildeverse.org domain and started moving some services over that were already intended for tildeverse use.

among those are gitea and the new link aggregator (which runs the same source as lobste.rs).

i've also started a phlog in my gopherhole with ~tomasino's new burrow gopherhole tool!

i'll try to post a bit more often too with updates from the tildeverse!

Tags: tilde, internet, links, git

Comments? Tweet  

git remotes with ssh aliases

January 12, 2018 — ben

did you know that ~/.ssh/config aliases work for git remotes??

~/.ssh/config

Host gh
HostName github.com
User git
IdentityFile ~/.ssh/gh_key

you can now use gh:username/repo as the remote in place of git@github.com:username/repo, which is much shorter and easier to type many times!

git clone gh:benharri/learngit

there are many other use cases for the ssh_config file. for example, here is my config for the tilde machine for easy ssh connections.

Host tilde
HostName tilde.team
User ben

then use ssh tilde to start a new ssh session. this also works with scp: try something like this scp file.txt tilde:workspace/. in place of scp file.txt ben@tilde.team:workspace/.

the ssh_config file is super useful. check man ssh_config for a full list of options!

Tags: git, ssh

Comments? Tweet