Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/dokku/sshcommand

Turn SSH into a thin client specifically for your app
https://github.com/dokku/sshcommand

Merge pull request #26 from dokku/no-user-rc

Allow specifying ALLOWED_KEYS via an environment variable

7ae40a669494a1fffc027847b7a69225216cff54 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Minor formatting change

25f7f45752337892429f893f00bf043ccbb1f45c authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Allow specifying custom ALLOWED_KEYS via environment variable

Closes #13

a030f9b49dbbf145a67afba6616d37fa0e6580a6 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Allow sourcing configuration defaults

This allows users to set any configuration once in a standard location (/etc/defaults).

b0cf84040de1f5456879ea6c88d07c7bb8bbebd2 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Make os-release path configurable

b8947e4f7e567789f0c08787d6642c1177c1d7a8 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Merge pull request #25 from dokku/key-file-arg

Add the ability to specify the key_file as an argument

30e5aaaf9254ffebab98a7d8cd94afd36fabd062 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Add the ability to specify the key_file as an argument

This allows setups where /dev/stdin is not available (docker) to work as expected.

cb6edce1017f21f86516d91234cc44104902cfd7 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Merge pull request #24 from dokku/jdg-bashstyle

Conform to progrium/bashstyle

dda571a2f51eeb8225e20491130e77df2aa72462 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Exit immediately on log-fail call

006a560d5b412340d131be8a5c84e8d838df7b89 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Use same naming schema everywhere

514a42facdc20213ea3a48ae60c81300b8a2750f authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Include way to trace command

ca2419e04588eac2968ae804493285ab37d943d2 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Refactor help output

We can now do the following to get help output.via reflection:

```
sshcommand help <COMMAND>
```

891bfc0ff510b5b7cb34664977fdd98e51ea445f authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Remove case in favor of method checking via declare

9ede78826a6d534229c0fcba736db5778fbc328b authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Shift args by 1 to simplify argument assignment

9ca38ab048c971759aef4aed63e52930a6325ef4 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Exit correctly when command is misused

bb2e1c4a27854f5d6583d9e119ee1c8067e79515 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Remove errant output redirection

62d54b0ca850ba994c07bb418c8ff0f21e0939d9 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Use more precise argument checking

We actually want to ensure that the arguments have a value, not that there are N arguments.

dddbf425da59af76da70e9bd25857ee96dc62831 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Use proper nomenclature for variable

500a97d11c3fd7416fe95120c0dc551c02043a97 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Add a description to functions.

05f60374a9b4ade547f5f4e90650d56a2f7f1b55 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Lowercase the operating system name

bcabcb16e9cf53250ce53ffc2d9476b17379bfd1 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Use backticks until better testing can get into place

e4b37c65829fd045222a2751481aa7f55e905871 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Never use backticks, use $( ... )

7b77bb07abb674d08dca34d15f4bb9ef17e51f06 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Always use set -eo pipefail

Fail fast and be aware of exit codes.

b9da2371ad7f53f059038a4f5c22150c50614d6a authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Always use declare at the top of functions

5638c7565e325302c83e1c9f84bbd06dc01e5935 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Allow user to specify a specific bash

9cc88b5f7e43f75717d4bd337fb869d585f72d92 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Use log-fail and log-verbose helpers

b23d77a6587797d0615105644e4b088549520412 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Always use local when setting variables

099616a47d89928b138942a736110b674baeac3f authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Avoid global variables

67f9a79fbf79be3eb69594638b813728af0ab1a6 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Always use [[ instead of [ or test

af7d3c63fb06b127067413f395832019981d8a7c authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Move sshcommand logic into functions

076f995b1f7aeac5fd65ce16b7bd387866948956 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Merge pull request #23 from oliw/oliverw/raspbian-support

Add support for Debian-based Raspian OS

e9025350f8bd4d3f413b9d62a5f248f3b9e69f76 authored almost 9 years ago by Jose Diaz-Gonzalez <[email protected]>
Add support for Debian-based Raspian OS

becd37ff24bb7e1bf05d91ee617c2cce4b5a1ed8 authored almost 9 years ago by Oliver Wilkie <[email protected]>
Merge pull request #18 from jvanbaarsen/skip-if-key-exists

Only add SSH key if it doesn't already exists

3d174f1db91b151aeb02b7c3b5f581f708ad0c6a authored almost 9 years ago by Michael Hobbs <[email protected]>
Only add SSH key if it doesn't already exists

Fixes #14

Signed-off-by: Jeroen van Baarsen <[email protected]>

c62bef4f8de59e77c7f029358fa41a80b133e34c authored almost 9 years ago by Jeroen van Baarsen <[email protected]>
Merge pull request #22 from dokku/mh-debian-match

match Debian* in f_adduser()

2795f651fb44555ae96b13e4887c11be7bdbbe10 authored about 9 years ago by Michael Hobbs <[email protected]>
match Debian* in f_adduser()

10ccdcd8c8f245a04c0bc53ac51a28836f7a33df authored about 9 years ago by Michael Hobbs <[email protected]>
update build image in README

869a8bfc95f594f429325d5f8b90c49e0bd8c781 authored about 9 years ago by Michael Hobbs <[email protected]>
Merge pull request #15 from alessio/suse

Add support for those distros which don't provide 'adduser'

bcb2f222f86ef73c21a5269a8c297da3ca31f6f4 authored about 9 years ago by Michael Hobbs <[email protected]>
Use double quote to prevent globbing and word splitting

6e41a4e774998eb35c30f019eba609871604841a authored about 9 years ago by Alessio Treglia <[email protected]>
Use the SLES stanza as a generic fallback

Thanks: @jvanbaarsen for the suggestion.

d5010acc1cde360eaab88ca80dbe0914e57524a4 authored about 9 years ago by Alessio Treglia <[email protected]>
Add support for SLES, and perhaps more RPM distros

adduser is a fine Perl useradd wrapper available in Slack, Debian,
and its derivatives only. Thi...

d10b6c2f374d23c20e03c9ee275df7a47a41ce2d authored about 9 years ago by Alessio Treglia <[email protected]>
Merge pull request #17 from michaelshobbs/mh-support-id-with-space

support identifiers with spaces

ae496dda6b6f36d571d86ff1aa0e0951d279eccc authored about 9 years ago by Michael Hobbs <[email protected]>
support identifiers with spaces. closes progrium/dokku#1489

ed2725b01598ba0a165349030a3a310a9ed1a8e2 authored about 9 years ago by Michael Hobbs <[email protected]>
Merge pull request #21 from progrium/mh-add-build-status

add build status to README

b03671006639d3bb803fe11da9b19e22e0de02b3 authored about 9 years ago by Michael Hobbs <[email protected]>
[ci skip] add build status to README

05a7b8cf6aa6081de236b930462fd25e73aa35cf authored about 9 years ago by Michael Hobbs <[email protected]>
Merge pull request #20 from progrium/mh-add-circleci

add tests and make lint pass

a84aaf540e5459af4ff96f68231f3870885a5f1b authored about 9 years ago by Michael Hobbs <[email protected]>
add tests and make lint pass

667953aef7221ea8dd37dee02f357e39bc6d0c66 authored about 9 years ago by Michael Hobbs <[email protected]>
Merge pull request #19 from progrium/mh-stale-stdin

fix stale handle stdin

6bb9e4ca6feb075514d453ddec3c30b4fa1df453 authored about 9 years ago by Michael Hobbs <[email protected]>
fix stale handle stdin. error on no fingerprint

d13e39bb009b9321521884cec56aea6436b56efb authored about 9 years ago by Michael Hobbs <[email protected]>
Merge pull request #12 from josegonzalez/custom-home-dir

Retrieve home directory from user via system

e6d1655ffb4e381910d14eeb92dd9b32456a5fd2 authored about 10 years ago by Jeff Lindsay <[email protected]>
Retrieve home directory from user via system

f445afa6b0d68dd67ec71be93bba489ef8b536c0 authored about 10 years ago by Jose Diaz-Gonzalez <[email protected]>
Merge pull request #11 from jwerle/master

make bpkg friendly

7554e5087c8c2cb29bfafd6d82992017ebd800d2 authored over 10 years ago by Jeff Lindsay <[email protected]>
make bpkg friendly

93dd84d12b4d06f1abd28c243285f862ceb5acea authored over 10 years ago by Joseph Werle <[email protected]>
Create LICENSE

086c40f3878efe8a193a54076d1c5546d29761c7 authored over 10 years ago by Jeff Lindsay <[email protected]>
Merge pull request #9 from emilebosch/simplify-readme

Simplified readme

1fbfc1973bfb0375d7d52ade7125c2d47c6abab0 authored over 10 years ago by Jeff Lindsay <[email protected]>
Simplified readme

f1e374672bce70ceb27622bb83f3316119341980 authored over 10 years ago by Emile bosch <[email protected]>
Merge pull request #6 from aegypius/fix-pr5-failing-when-user-does-not-exists

Fix pr5 failing when user does not exists

8231b32eb5db6cdbad32a6d34be3bad5ff00e391 authored about 11 years ago by Jeff Lindsay <[email protected]>
Rework getent test to work with set -e

50f1891486e23f64da72feb9b4ac93f91a1d5606 authored about 11 years ago by aegypius <[email protected]>
Use @mikeyxstudios workaround to fix progrium/sshcommand#5

d652509b55e6ad00272e23e97f0fc712b5cceddc authored about 11 years ago by aegypius <[email protected]>
Merge pull request #5 from aegypius/guess-homedir-if-user-allready-exists

Test if user exists before trying to create it

d8b5dbc176bfdf2853382480afc05bd356e260e6 authored about 11 years ago by Jeff Lindsay <[email protected]>
Test if user exists before trying to create it

If so, guess user homedir instead of hardcoding to /home

6430a8b2af377d9b9c1d76b3de25707592d94c36 authored about 11 years ago by aegypius <[email protected]>
Merge pull request #3 from ruudud/master

Correct argument names in usage text.

5f9afe79698332d24a69873721619f5af4670d09 authored about 11 years ago by Jeff Lindsay <[email protected]>
Correct argument names in usage text.

Also try to avoid confusion with user/username/name by using «identifier».

099bb98c70c4b816657d167d7ff99298f1b34f25 authored about 11 years ago by Pål Ruud <[email protected]>
Merge pull request #2 from thefourtheye/master

Displaying usage help messages for even unknown parameters

9d42dd77a95ebf588e21cbcde46e6f562f9f4199 authored over 11 years ago by Jeff Lindsay <[email protected]>
Displaying usage help messages for even unknown parameters

087959460296c44edc1d1e08cc368495995e3bba authored over 11 years ago by thefourtheye <[email protected]>
Merge pull request #1 from thefourtheye/master

Included help command and case-insensitive string matching

eb69c7a85a327f8be5726ab6ec79cea71e2dc803 authored over 11 years ago by Jeff Lindsay <[email protected]>
Updated with help parameter details

885ae92ebf851206c7d8a39ab84e2c58a84aacb9 authored over 11 years ago by thefourtheye <[email protected]>
Adding help messages and case insensitive string matching

589954ef43c7eea0d1370574c2cb1f21491a6102 authored over 11 years ago by thefourtheye <[email protected]>
this works in sh

2968840f94a82b59f5db2128d84fbef6083534a1 authored over 11 years ago by Jeff Lindsay <[email protected]>
realized i don't need the comment hack because we can lookup by name using where we assign the NAME variable

ff4c045647ffe5af2609aa123ab27c8cdad76766 authored over 11 years ago by Jeff Lindsay <[email protected]>
load command dynamically. allow pty

ebf0bab99f5b20b329dcb069ee631e517dfd19bd authored over 11 years ago by Jeff Lindsay <[email protected]>
switched back to stdin for acl-add

20800f94673bf6f44a12ed472c181a797eba5592 authored over 11 years ago by Jeff Lindsay <[email protected]>
fixing close case

89feb75b4a490bea08dc6d1d9ca46d848442d412 authored over 11 years ago by Jeff Lindsay <[email protected]>
real initial commit

416660f70af8a03e72ce7876e1931ddd6dadd3ac authored over 11 years ago by Jeff Lindsay <[email protected]>
nope

38c20d0af727da9feeb012a8c1c1dd9d6891a03d authored about 12 years ago by Jeff Lindsay <[email protected]>
description

7c328996ed6105c0d831445b6776031418d37935 authored about 12 years ago by Jeff Lindsay <[email protected]>
title

695908758f448fd6e67ca0b223196cdddeab06b8 authored about 12 years ago by Jeff Lindsay <[email protected]>
readme

e55911724089ac34600f3cc51c7ce0f7a27571d0 authored about 12 years ago by Jeff Lindsay <[email protected]>
exec bit

9f742c0533f61863ae13b9070e3fc3a183f106f7 authored about 12 years ago by Jeff Lindsay <[email protected]>
mvp

ee517682307797dcb7a118f485f657cb9f03943b authored about 12 years ago by Jeff Lindsay <[email protected]>