Przejdź do treści
Biblioteka skilli
DevOps i chmura · Integracja z narzędziem

connect-ssh

/connect-ssh

Łączy się z serwerem, który podał właściciel, i pracuje na nim przez SSH.

Repozytorium
Macron-Agent ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Łączy się z serwerem, który podał właściciel, i pracuje na nim przez SSH.

Oryginalny opis (EN)

Use when the owner gives you a server (address, user, password or key) and wants you to connect to it and work on it.

Jak działa

  1. Connect for the first time
  2. Work on it
Sekcje z nagłówków SKILL.md, w oryginale · 19 linii, 363 słów
Podgląd SKILL.md
---
name: connect-ssh
description: "Use when the owner gives you a server (address, user, password or key) and wants you to connect to it and work on it."
version: 1.0.0
category: devops
---

# Connect to a server and work on it

You have a shell on this machine, so `ssh`, `scp` and `rsync` are your tools. There is no server panel: the owner tells you the address in the chat and you set it up yourself.

## Connect for the first time
1. Take what the owner gave you: host (and port), user, and a key file, a pasted key or a password. If the user is missing, try `root`, then ask.
2. Learn the host key once, and show the owner its fingerprint: `ssh-keyscan -p PORT HOST >> ~/.ssh/known_hosts` then `ssh-keygen -lf <(ssh-keyscan -p PORT HOST 2>/dev/null)`.
3. Key given: save it to `~/.ssh/<name>` with `chmod 600` (create `~/.ssh` with `chmod 700`). Password given only: make a key with `ssh-keygen -t ed25519 -N "" -f ~/.ssh/<name>` and install it with `sshpass -p '…' ssh-copy-id -i ~/.ssh/<name>.pub -p PORT user@HOST` (install `sshpass` if it is missing). After that the password is never needed again, so don't keep it anywhere.
4. Write a short alias in `~/.ssh/config` (`Host <name>`, `HostName`, `User`, `Port`, `IdentityFile`, `ServerAliveInterval 30`). From now on `ssh <name> 'command'` is all you need, and the owner can say "the web server" and you know which one. Note the alias and what the machine is in MEMORY.md (never the password).
5. Check it works: `ssh -o BatchMode=yes <name> 'uname -a; uptime'`.

## Work on it
- Look before you change (`df -h`, `free -m`, `systemctl status`, `journalctl -n 50 --no-pager`). Keep output short with `tail`, `head`, `grep`.
- Edit files in place with a backup next to them (`cp -a f f.bak.$(date +%F-%H%M)`), then run the program's own test (`nginx -t`, `sshd -t`) before reloading. Never leave a `.bak` inside a directory the service loads whole (`conf.d`, `sites-enabled`).
- Move files with `scp`/`rsync -avz`; long jobs with `nohup … > ~/job.log 2>&1 &` or a systemd unit, checked with short calls.
- Don't cut the branch you sit on: when you change sshd or the firewall, keep a session open and test a second one.
- Report what you ran, what changed and what you checked. Never paste secrets from the server into the answer.

Wersje

W bazie nie ma innych skilli o nazwie connect-ssh.

Migawka bazy z 13.11.2026 · wersja paczki 52e969a2c7c0 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100ssh-connect
    Łączy się przez SSH ze zdalną maszyną, aby uruchamiać polecenia lub otworzyć powłokę, używając danych z pliku .env (SSH_HOST, SSH_USER, klucz lub hasło) bez pytań o hasło.
  • 100ssh-connect
    Łączy się z zarejestrowanymi zdalnymi maszynami przez SSH, wykonuje na nich polecenia i zapisuje wnioski z pracy na przyszłość.
  • 95glab-ssh-key
    Dodaje, wypisuje i usuwa klucze SSH na koncie GitLab, gdy konfigurujesz uwierzytelnianie przez SSH i Git.
  • 84connect
    Zapisuje alias SSH dla piaskownicy Runzivo i pokazuje polecenia SSH oraz edytora, gdy użytkownik chce się połączyć.
  • 98windows-vm
    Tworzy, zatrzymuje i łączy się przez SSH z bezgłowową maszyną wirtualną Windows 11 w Dockerze.
  • 100sshhh
    Łączy się z serwerem SSH przez wcześniej autoryzowane dane; hasło podaje użytkownik w osobnym oknie konsoli.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.