Skip to main content

Copy SSH keys to passwordless users via another user

Project description

ssh-copy-id-via

@readwithai - X - blog - machine-aided reading - 📖⚡️🖋️

I like to use passwordless users on a server as a means of isolation. ssh-copy-id only works if you have a password. This logs in with another user and copy's the ID.

Warning: this is vibe coded. It will likely become less so if I improve it.

Installation

You can install this with pipx;

pipx install ssh-copy-id-via

Usage

This command will log in to server using user and then user it to allow you to login to ssh-user@server.

ssh-copy-id-via user@server ssh-user

About me

I am @readwithai. I create tools for reading, research and agency sometimes using the markdown editor Obsidian.

I also create a stream of tools that are related to carrying out my work. You may be interested in some of these tools.

I write about lots of things - including tools like this - on X. My blog is more about reading and research and agency.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssh_copy_id_via-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssh_copy_id_via-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file ssh_copy_id_via-0.1.0.tar.gz.

File metadata

  • Download URL: ssh_copy_id_via-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ssh_copy_id_via-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a78b454aa702b8b35925d13cb0bb82ad4469d93bbee023afe0c3c645cb18a3e5
MD5 0a748405c690a663395e9c551c600af8
BLAKE2b-256 d7697f46764e2860364bf5634b4d05fc20e24607c3a65ab38d1ad57e93106e32

See more details on using hashes here.

File details

Details for the file ssh_copy_id_via-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ssh_copy_id_via-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb1150641c3c4e5380b79cb6b7fac62a12dc29ec43203d20b737c8ea0615d7fb
MD5 1e35a52ae077084f755f8fa77aee585a
BLAKE2b-256 b05e2ebf47aaf1f0e3570f8bf73b3ef77559a9e179ffae101eefcaf70038faa3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page