Root Access Daily
Root Access Daily
@RootAccessDaily

One SSH config to rule 40 boxes

One SSH config to rule 40 boxes
Stop typing IPs and ports. Build ~/.ssh/config once:
— Per host: Host web1 / HostName 1.2.3.4 / User deploy / Port 2222 / IdentityFile ~/.ssh/web1
— Reuse connections: ControlMaster auto, ControlPath ~/.ssh/cm-%r@%h:%p, ControlPersist 10m — second login is instant
— Tunnel through a bastion: ProxyJump bastion on the private boxes
Now it's just ssh web1. The ControlMaster reuse alone saves you the handshake on every command. Try it tonight.
Этот пост опубликован в Telegram-канале Root Access Daily. Подписаться можно по ссылке: @RootAccessDaily.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.