Skip to content

Commit

Permalink
security/ssh-import-id: new port
Browse files Browse the repository at this point in the history
You're logged onto a cloud instance working on a problem with your
fellow devs, and you want to invite them to log in and take a look
at these crazy log messages. What to do?

Oh. You have to ask them to cat their public SSH key, paste it into
IRC (wait, no, it's id_rsa.pub, not id_rsa silly!) then you copy it
and cat it to the end of authorized_hosts.

That's where ssh-import-id comes in. With ssh-import-id, you can add
the public SSH keys from a known, trusted online identity to grant
SSH access.

Currently supported identities include Github and Launchpad.

WWW: https://git.launchpad.net/ssh-import-id

Submitter is first time maintainer.

PR:		265835
Approved by:	flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38681
  • Loading branch information
spmzt authored and clausecker committed Feb 20, 2023
1 parent 344a6df commit d24b805
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/Makefile
Expand Up @@ -1230,6 +1230,7 @@
SUBDIR += srm
SUBDIR += ssb
SUBDIR += ssdeep
SUBDIR += ssh-import-id
SUBDIR += ssh-multiadd
SUBDIR += ssh-tools
SUBDIR += ssh-vault
Expand Down
20 changes: 20 additions & 0 deletions security/ssh-import-id/Makefile
@@ -0,0 +1,20 @@
PORTNAME= ssh-import-id
DISTVERSION= 5.11
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= p.mousavizadeh@protonmail.com
COMMENT= Authorize SSH public keys from trusted online identities
WWW= https://git.launchpad.net/ssh-import-id

LICENSE= GPLv3
# LICENSE_FILE=Not shipped in PyPI sdist
# https://bugs.launchpad.net/ssh-import-id/+bug/1992842

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR}

USES= python
USE_PYTHON= concurrent autoplist distutils

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions security/ssh-import-id/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1660480546
SHA256 (ssh-import-id-5.11.tar.gz) = 2a976fefcbd97afa16c32a4c24f0ae5bb979e684c4ad0e23a8afb697dfa994c0
SIZE (ssh-import-id-5.11.tar.gz) = 7051
13 changes: 13 additions & 0 deletions security/ssh-import-id/pkg-descr
@@ -0,0 +1,13 @@
You're logged onto a cloud instance working on a problem with your
fellow devs, and you want to invite them to log in and take a look
at these crazy log messages. What to do?

Oh. You have to ask them to cat their public SSH key, paste it into
IRC (wait, no, it's id_rsa.pub, not id_rsa silly!) then you copy it
and cat it to the end of authorized_hosts.

That's where ssh-import-id comes in. With ssh-import-id, you can add
the public SSH keys from a known, trusted online identity to grant
SSH access.

Currently supported identities include Github and Launchpad.

0 comments on commit d24b805

Please sign in to comment.