DEV Community

Discussion on: 5 git tips for beginners

Collapse
 
thumbone profile image
Bernd Wechner • Edited

Born in the 1980s to love vi? Ha ha, I was born in the 1960s and was weened on vi.

Your point remains a good one, vi sorta sucks really. It's just that some of us were weened on it. And I can't stand nano.

I go one better IMHO. I tend to use Atom 😉. Of course that's a GUI editor but I manage all my servers from a desktop machine, mounting drives with sshfs and using ssh to get a CLI on them, in which context I use vi because it's familiar but appreciate nano is much easier for newcomers. But as I said, I don't do a lot of text terminal editing, I tend to mount with sshfs and edit in my DE.

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

I'm more of an ssh + tmux + neovim person myself, but sshfs go brrrrr

Collapse
 
thumbone profile image
Bernd Wechner

Each to their own. But what does "go brrrr" mean? sshfs rocks. I can mount userdirs and root dirs in a jiffy and navigate them with a system explorer, edit with GUI editors, check logs with klogg and more ...

Thread Thread
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

I hadn't even considered the idea of mounting local directories with different users; so far I've only really used it to open remote files on my office PC in GUI editors on the laptop I use when working from home.

Thread Thread
 
thumbone profile image
Bernd Wechner

Oh, I only use it for different users when I'm working on my servers. For security reasons, every server has a name, and a user name that is mnemonically linked to the server name. Root login is then disabled on the server, and that main server admin account is a sudoer. Thus I would often sshfs using that admin account less commonly as root for the whole filesystem (root login only permitted from the LAN with a sshkey not a password). To keep risks low with both my use and any possible mal-vectors I use the lower level of accounts when that's all I need and I make sure its in the right groups to read logs and such.