K
K
Konstantin Rudenkov2015-12-31 14:39:32
vim
Konstantin Rudenkov, 2015-12-31 14:39:32

How to universalize work with the console on many different servers?

Colleagues, hello to all and Happy New Year.
I have a question subj. The background is such that now you have to interact with very different servers that are not always configured in the same way.
As an example:
server set #1: ssh as root, no user separation, bash
server set #2: ssh user, root via sudo, bash
But I want to have root (almost always), zsh and vim with my own settings when I go to the server. I can more or less imagine how to do it, but reading the documentation and looking at the examples, I still can't achieve such an ideal as I want ... and in order not to disturb other people on multi-user systems. Perhaps someone will help me with their ideas and implementations, well, or poke me into the documentation, where there will not be too much thought spreading over the details of the tips, but will there be an essence?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MrFrizzy, 2015-12-31
@MrFrizzy

sshrc
etcd

A
Armenian Radio, 2015-12-31
@gbg

All settings of these programs live in the home directory. Carry these files with you and that's it.
The interpreter can be changed with the chsh command.

K
Konstantin Rudenkov, 2015-12-31
@rudenkovk

It’s not very convenient to drag it to 10k servers, I even use LocalCommand in config ssh. It looks more like a crutch, although it is quite efficient. But I want a more versatile option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question