Live data from Hacker News

Show HN: Shittp – Volatile Dotfiles over SSH

github.com

31–40 of 97 posts

Re: Show HN: Shittp – Volatile Dotfiles over SSH

#31
post #29
post #2

I often need to login to colleagues' machines at work, but I find that their settings are not what I am familiar with. So I wrote an SSH wrapper in POSIX shell which tars dotfiles into a base64 string, passes it to SSH, and decodes / setups on the remote temp directory. Automatically remove when session ends. Supported: .profile, .vimrc, .bashrc, .tmux.conf, etc. This idea comes from kyrat[1]; passing files via a bas…

Ok, but what if your colleague does not have Vim installed? Wouldn't it make more sense to have a tool that brings files over to the local computer, starts Vim on them, and then copies them back?

That starts to sound like using VS Code in remote mode.

Re: Show HN: Shittp – Volatile Dotfiles over SSH

#33
post #29

Earlier quoted context omitted.

Ok, but what if your colleague does not have Vim installed? Wouldn't it make more sense to have a tool that brings files over to the local computer, starts Vim on them, and then copies them back?

That starts to sound like using VS Code in remote mode.

Emacs in tramp mode.

Re: Show HN: Shittp – Volatile Dotfiles over SSH

#34

Earlier quoted context omitted.

Be careful, this will force your defaults over system defaults possibly overriding compliance or security settings. There are a few places I noticed where well-placed malware could hop in etc. It’s not bad software, it’s also not mature. I’m currently on a phone and on vacation so this is the extent of my review. Maybe I’ll circle back around with some PRs next week

i was merely joking about the name apparently being intended to be pronounced in a rather juvenile manner

It's not obvious, but the shitt-p is borrowed from an anime character. So it should pronounce like sheet-p: https://ipa-reader.com/?text=%C9%95it%CB%90opi%CB%90

Re: Show HN: Shittp – Volatile Dotfiles over SSH

#35
post #29
post #2

I often need to login to colleagues' machines at work, but I find that their settings are not what I am familiar with. So I wrote an SSH wrapper in POSIX shell which tars dotfiles into a base64 string, passes it to SSH, and decodes / setups on the remote temp directory. Automatically remove when session ends. Supported: .profile, .vimrc, .bashrc, .tmux.conf, etc. This idea comes from kyrat[1]; passing files via a bas…

Ok, but what if your colleague does not have Vim installed? Wouldn't it make more sense to have a tool that brings files over to the local computer, starts Vim on them, and then copies them back?

I can’t recall encountering a system in the last 15 years that didn’t have vim (or at least vi for esoteric things) on it.

Re: Show HN: Shittp – Volatile Dotfiles over SSH

#36
post #2

I often need to login to colleagues' machines at work, but I find that their settings are not what I am familiar with. So I wrote an SSH wrapper in POSIX shell which tars dotfiles into a base64 string, passes it to SSH, and decodes / setups on the remote temp directory. Automatically remove when session ends. Supported: .profile, .vimrc, .bashrc, .tmux.conf, etc. This idea comes from kyrat[1]; passing files via a bas…

I came across something similar a few months ago. I pieced together a working hybrid by patching in parts from an older release with the latest version. I didn't ever work out if the latest version failed because of something in my environment or not, but I'm on a Mac fwiw.

https://github.com/cdown/sshrc

Re: Show HN: Shittp – Volatile Dotfiles over SSH

#37
post #29
post #2

I often need to login to colleagues' machines at work, but I find that their settings are not what I am familiar with. So I wrote an SSH wrapper in POSIX shell which tars dotfiles into a base64 string, passes it to SSH, and decodes / setups on the remote temp directory. Automatically remove when session ends. Supported: .profile, .vimrc, .bashrc, .tmux.conf, etc. This idea comes from kyrat[1]; passing files via a bas…

Ok, but what if your colleague does not have Vim installed? Wouldn't it make more sense to have a tool that brings files over to the local computer, starts Vim on them, and then copies them back?

We usually work on the VM with daily-built ISO. For example, I would compile and upload Java program to the frontend team member's VM, and type "srt" for "systemctl restart tomcat."

Re: Show HN: Shittp – Volatile Dotfiles over SSH

#38
post #2

I often need to login to colleagues' machines at work, but I find that their settings are not what I am familiar with. So I wrote an SSH wrapper in POSIX shell which tars dotfiles into a base64 string, passes it to SSH, and decodes / setups on the remote temp directory. Automatically remove when session ends. Supported: .profile, .vimrc, .bashrc, .tmux.conf, etc. This idea comes from kyrat[1]; passing files via a bas…

[deleted]

Re: Show HN: Shittp – Volatile Dotfiles over SSH

#39
post #29

Earlier quoted context omitted.

Ok, but what if your colleague does not have Vim installed? Wouldn't it make more sense to have a tool that brings files over to the local computer, starts Vim on them, and then copies them back?

I can’t recall encountering a system in the last 15 years that didn’t have vim (or at least vi for esoteric things) on it.

[deleted]
Post reply on HN