All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Shittp: SSH Tool for Transferring Dotfiles to Remote Machines

By

sdovan1

5mo ago· 3 min readenCode

Summary

Shittp is a tool that enables users to bring their dotfiles (configuration files) to remote machines via SSH. It works by packing dotfiles into a tarball, converting to base64, transporting via SSH, and unpacking on the remote machine. The tool updates the HOME environment variable to point to the extracted directory and sources setup scripts. It requires POSIX shell, ssh, tar, base64, and mktemp dependencies, and can be used with both SSH connections and Docker containers.

Key quotes

· 5 pulled
Bring your dotfiles to a remote machine via SSH without mess.
Pack: create a tarball of your dotfiles and pipes to base64 string.
Transport: passing the base64 string and setup script as a SSH remote command.
Unpack: on the remote, decodes base64 string and extracts to temp directory.
Init: update HOME environment variable to point to previous extracted directory. Sources setup script and start an
Snippet from the RSS feed
Bring your dotfiles to remote machine via SSH. Contribute to FOBshippingpoint/shittp development by creating an account on GitHub.

You might also wanna read