a-kenji fa170a6476 pkgs/clan: Fix clan ssh subcommand
Fix a regression in the `clan ssh` subcommand, which incorrectly assumed
that every target host without a `:` inside can't ever be an ipv6
address.

We now try to reach the default remote port on both protocols, while
this is not a completely robust solution, this doesn't make any assumptions
of the address family based on arbitrary host names anymore, which
should alleviate many problems with the introduced regression.

The PR that introduced the ssh regression #2604 notably did
not describe why this change was made, which makes understanding the
motivation not very easy.

Alternatives:
- Use an actual ssh implementation (This can also be done later in a
  follow up) - this has the benefit that ssh configuration is
  propagated at the cost of complexity
- Add tests for this feature -> this would need to run in a VM test as I
  understand it currently
2025-06-24 16:16:25 +02:00
2025-06-24 10:42:03 +02:00
2025-06-24 10:42:03 +02:00
2025-06-24 10:42:03 +02:00
2024-11-29 20:08:02 +00:00
2025-06-24 10:42:03 +02:00
2025-06-24 16:16:25 +02:00
2024-12-11 14:38:36 +00:00
2024-07-29 17:33:46 +02:00
2025-06-11 12:26:19 +02:00
2024-10-25 14:47:14 +02:00
2025-06-13 13:05:21 +02:00

Clan core repository

Welcome to the Clan core repository, the heart of the clan.lol project! This monorepo is the foundation of Clan, a revolutionary open-source project aimed at restoring fun, freedom, and functionality to computing. Here, you'll find all the essential packages, NixOS modules, CLI tools, and tests needed to contribute to and work with the Clan project. Clan leverages the Nix system to ensure reliability, security, and seamless management of digital environments, putting the power back into the hands of users.

Why Clan?

Our mission is simple: to democratize computing by providing tools that empower users, foster innovation, and challenge outdated paradigms. Clan represents our contribution to a future where technology serves humanity, not the other way around. By participating in Clan, you're joining a movement dedicated to creating a secure, user-empowered digital future.

Features of Clan

  • Full-Stack System Deployment: Utilize Clans toolkit alongside Nix's reliability to build and manage systems effortlessly.
  • Overlay Networks: Secure, private communication channels between devices.
  • Virtual Machine Integration: Seamless operation of VM applications within the main operating system.
  • Robust Backup Management: Long-term, self-hosted data preservation.
  • Intuitive Secret Management: Simplified encryption and password management processes.

Getting started with Clan

If you're new to Clan and eager to dive in, start with our quickstart guide and explore the core functionalities that Clan offers:

  • Quickstart Guide: Check out getting started to get up and running with Clan in no time.

Managing secrets

In the Clan ecosystem, security is paramount. Learn how to handle secrets effectively:

  • Secrets Management: Securely manage secrets by consulting secrets.

Contributing to Clan

The Clan project thrives on community contributions. We welcome everyone to contribute and collaborate:

  • Contribution Guidelines: Make a meaningful impact by following the steps in contributing.

Join the revolution

Clan is more than a tool; it's a movement towards a better digital future. By contributing to the Clan project, you're part of changing technology for the better, together.

Community and support

Connect with us and the Clan community for support and discussion:

Languages
Python 55%
Nix 24.6%
TypeScript 18%
CSS 1.6%
Shell 0.4%
Other 0.3%