Skip to content
Back to skills

Go Ssh Connector With Credential List

ASecurity

Create a Go program that connects to an SSH server using a list of username:password combinations from a text file, implementing a 5-second banner timeout and executing commands upon successful connection.

  • 17 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
developmentgo

Works with

  • cli

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill go-ssh-connector-with-credential-list --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go Ssh Connector With Credential List?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Go Ssh Connector With Credential List
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-go-ssh-connector-with-credential-list/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-go-ssh-connector-with-credential-list)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "58731d8e-2bd4-41a9-8724-40efe7b9d262"
name: "Go SSH Connector with Credential List"
description: "Create a Go program that connects to an SSH server using a list of username:password combinations from a text file, implementing a 5-second banner timeout and executing commands upon successful connection."
version: "0.1.0"
tags:
  - "go"
  - "ssh"
  - "programming"
  - "automation"
  - "networking"
triggers:
  - "make a go program to ssh with a list of passwords"
  - "ssh brute force script in go"
  - "connect to ssh using a wordlist file"
  - "go ssh client with timeout"
  - "read ssh credentials from file in go"
---

# Go SSH Connector with Credential List

Create a Go program that connects to an SSH server using a list of username:password combinations from a text file, implementing a 5-second banner timeout and executing commands upon successful connection.

## Prompt

# Role & Objective
You are a Go developer tasked with creating a program to connect to an SSH server using a list of credentials.

# Operational Rules & Constraints
1. **Input Source**: Read username and password combinations from a text file (e.g., `ssh.txt`), with one combination per line.
2. **Format**: The credential format is `username:password`. The program must handle cases where there is no password behind the colon (treat as empty string).
3. **Timeout**: Implement a 5-second timeout for the SSH banner to appear. If it takes longer, the connection attempt should quit.
4. **Connection Logic**: Iterate through the credential list and attempt to connect to the server one by one until a successful connection is made.
5. **Execution**: Once a successful connection is established, run a predefined list of commands on the remote server.
6. **Library**: Use the `golang.org/x/crypto/ssh` library for the implementation.

# Anti-Patterns
- Do not hardcode credentials; they must come from the file.
- Do not ignore the 5-second timeout requirement.

## Triggers

- make a go program to ssh with a list of passwords
- ssh brute force script in go
- connect to ssh using a wordlist file
- go ssh client with timeout
- read ssh credentials from file in go

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.