# MobaXterm mit 1Password SSH-Agent nutzen

### Schritt A – 1Password als SSH-Agent aktivieren (einmalig)

1. In 1Password → **Settings → Developer** → **Set up SSH Agent** aktivieren.  
    Optional: „Keep 1Password in the notification area“ einschalten, damit der Agent im Tray weiterläuft. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">developer.1password.com</span></span></span>](https://developer.1password.com/docs/ssh/get-started/)</span></span>
2. 1Password bindet dann den System-Pipe `\\.\pipe\openssh-ssh-agent`. Der Windows-OpenSSH-Dienst sollte **nicht** parallel laufen (falls vorhanden in `services.msc` stoppen/deaktivieren), damit 1Password den Pipe exklusiv belegt. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">developer.1password.com</span></span></span>](https://developer.1password.com/docs/ssh/get-started/)</span></span>
3. Wichtig: Auf Windows gilt keine `IdentityAgent`-Pfadwahl wie unter macOS/Linux – OpenSSH lauscht immer auf diesem festen Pipe, und 1Password autentifiziert dann für **alle Hosts**. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">developer.1password.com</span></span></span>](https://developer.1password.com/docs/ssh/agent/advanced/)</span></span>

<p class="callout danger"><span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">Damit VisualStudio und GIT funkioniert muss der SSH Client noch gesetzt werden: [https://developer.1password.com/docs/ssh/get-started/#step-4-configure-your-ssh-or-git-client](https://developer.1password.com/docs/ssh/get-started/#step-4-configure-your-ssh-or-git-client)</span></span></p>

```bash
git config --global core.sshCommand "C:/Windows/System32/OpenSSH/ssh.exe"
```

### <s>Weg 1 – (Neuere) MobaXterm-Version direkt mit dem OpenSSH-Agent koppeln</s>

1. <s>Update auf eine aktuelle MobaXterm-Version. In neueren Releases gibt es die INI-Option</s>  
    <s>**`UseOriginalSshAgent=1`** (Sektion `[SSH]`), die den **OpenSSH-Agent statt Pageant** nutzt. Die INI liegt üblicherweise in `Dokumente\MobaXterm\MobaXterm.ini`. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">mobaxterm.mobatek.net</span></span></span>](https://mobaxterm.mobatek.net/download-home-edition.html?utm_source=chatgpt.com)</span></span><span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">blog.mobatek.net</span></span></span>](https://blog.mobatek.net/post/mobaxterm-configuration-settings/?utm_source=chatgpt.com)</span></span></s>  
    <s>*Falls die Datei woanders liegt: siehe Doku/Blog der Entwickler.* <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">mobaxterm.mobatek.net</span></span></span>](https://mobaxterm.mobatek.net/documentation.html?utm_source=chatgpt.com)</span></span></s>
2. <s>In MobaXterm unter **Settings → Configuration → SSH** die Option **Use Pageant** aktivieren (die INI-Schalter sorgt dann dafür, dass genau an dieser Stelle der **OpenSSH-Agent** verwendet wird – kein Pageant). MobaXterm neu starten. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">mobaxterm.mobatek.net</span></span></span>](https://mobaxterm.mobatek.net/download-home-edition.html?utm_source=chatgpt.com)</span></span></s>
3. <s>Beim ersten Verbindungsaufbau erscheint eine 1Password-Freigabe-Abfrage (Windows Hello/Passwort). Danach läuft’s bis 1Password sperrt. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">developer.1password.com</span></span></span>](https://developer.1password.com/docs/ssh/get-started/)</span></span></s>

> <s>Warum das funktioniert: 1Password ersetzt den Windows-OpenSSH-Agent am festen Pipe. Wenn MobaXterm statt Pageant den OpenSSH-Agent nutzt, landen die Anfragen automatisch bei 1Password. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">developer.1password.com</span></span></span>](https://developer.1password.com/docs/ssh/agent/advanced/)</span></span></s>

### Weg 2 – (Kompatibel mit allen MobaXterm-Versionen) Bridge **winssh-pageant**

Wenn Dein MobaXterm die OpenSSH-Agent-Anbindung nicht hat, nimm eine Bridge, die **Pageant-Requests → Windows-OpenSSH-Agent** weiterleitet:

1. **winssh-pageant** installieren/starten (z. B. per `winget install winssh-pageant` oder MSI). Es legt einen Autostart „WinSSH-Pageant Bridge“ an. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">GitHub</span></span></span>](https://github.com/ndbeals/winssh-pageant)</span></span>
2. In MobaXterm **Settings → Configuration → SSH** die Option **Use external SSH agent (Pageant)** aktivieren. Jetzt spricht MobaXterm Pageant – die Bridge leitet transparent auf den OpenSSH-Pipe (und damit 1Password) durch. <span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">mobaxterm.mobatek.net</span></span></span>](https://mobaxterm.mobatek.net/download-home-edition.html?utm_source=chatgpt.com)</span></span><span class="" data-state="closed"><span class="ms-1 inline-flex max-w-full items-center relative top-[-0.094rem] animate-[show_150ms_ease-in]" data-testid="webpage-citation-pill">[<span class="relative start-0 bottom-0 flex h-full w-full items-center"><span class="flex h-4 w-full items-center justify-between overflow-hidden"><span class="max-w-full grow truncate overflow-hidden text-center">GitHub</span></span></span>](https://github.com/ndbeals/winssh-pageant)</span></span>