Skip to content

[BUG] IPv6 address not working #27

@Myzel394

Description

@Myzel394

Describe the bug

Using an IPv6 address always shows this error:

ERROR: Invalid SSH address format. Expected format: [USER@]HOST[:PORT]

I tried in several formats such as:

docker pussh myimage root@fe80::ab:1f:a1:2a11
docker pussh myimage root@[fe80::ab:1f:a1:2a11]
docker pussh myimage 'root@[fe80::ab:1f:a1:2a11]'

How to reproduce

pussh to a server with an IPv6 address

Expected behavior

Should work

Environment:

  • Unregistry versions
    • pussh version (output of docker pussh --version): docker-pussh, version 0.1.0
    • unregistry (Docker image) version:
  • OS version: macOS
  • Bash version (output of bash --version): GNU bash, version 3.2.57(1)-release (arm64-apple-darwin24) Copyright (C) 2007 Free Software Foundation, Inc.
  • Output of docker info:
  • For macOS clients, how do you run docker: Docker Desktop

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions