Skip to content

Commit ba9a901

Browse files
authored
Merge pull request #56 from dokku/master
Release 0.11.0
2 parents f73c63f + 509b021 commit ba9a901

File tree

5 files changed

+18
-6
lines changed

5 files changed

+18
-6
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ All notable changes to this project will be documented in this file.
1010

1111
### Changed
1212

13+
## [0.11.0] - 2020-05-06
14+
15+
### Changed
16+
17+
- @josegonzalez Avoid writing acl-add key to temporary file
18+
- @josegonzalez Release packages for focal
19+
1320
## [0.10.0] - 2020-04-03
1421

1522
### Added
@@ -134,7 +141,8 @@ All notable changes to this project will be documented in this file.
134141
- @michaelshobbs update build image in README
135142
- @jvanbaarsen Only add SSH key if it doesn't already exists
136143

137-
[unreleased]: https://github.com/dokku/sshcommand/compare/v0.10.0...HEAD
144+
[unreleased]: https://github.com/dokku/sshcommand/compare/v0.11.0...HEAD
145+
[0.11.0]: https://github.com/dokku/sshcommand/compare/v0.10.0...v0.11.0
138146
[0.10.0]: https://github.com/dokku/sshcommand/compare/v0.9.0...v0.10.0
139147
[0.9.0]: https://github.com/dokku/sshcommand/compare/v0.8.0...v0.9.0
140148
[0.8.0]: https://github.com/dokku/sshcommand/compare/v0.7.0...v0.8.0

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MAINTAINER_NAME = Jose Diaz-Gonzalez
66
REPOSITORY = sshcommand
77
HARDWARE = $(shell uname -m)
88
SYSTEM_NAME = $(shell uname -s | tr '[:upper:]' '[:lower:]')
9-
BASE_VERSION ?= 0.10.0
9+
BASE_VERSION ?= 0.11.0
1010
IMAGE_NAME ?= $(MAINTAINER)/$(REPOSITORY)
1111
PACKAGECLOUD_REPOSITORY ?= dokku/dokku-betafish
1212

@@ -146,6 +146,7 @@ release-packagecloud:
146146
release-packagecloud-deb: build/deb/$(NAME)_$(VERSION)_amd64.deb
147147
package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/xenial build/deb/$(NAME)_$(VERSION)_amd64.deb
148148
package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/bionic build/deb/$(NAME)_$(VERSION)_amd64.deb
149+
package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/focal build/deb/$(NAME)_$(VERSION)_amd64.deb
149150
package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/stretch build/deb/$(NAME)_$(VERSION)_amd64.deb
150151
package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/buster build/deb/$(NAME)_$(VERSION)_amd64.deb
151152

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ If the public key is already on the server, you may also specify it as an argume
3939

4040
$ ssh root@server sshcommand acl-add cmd progrium ~/.ssh/id_rsa.pub
4141

42+
By default, key names and fingerprints must be unique. Both of these checks can be disabled by setting the following environment variables to `false`:
43+
44+
export SSHCOMMAND_CHECK_DUPLICATE_FINGERPRINT="false"
45+
export SSHCOMMAND_CHECK_DUPLICATE_NAME="false"
46+
4247
Now anywhere with the private key you can easily run:
4348

4449
$ ssh cmd@server

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sshcommand",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "Turn SSH into a thin client specifically for your app",
55
"global": "true",
66
"install": "cp sshcommand /usr/local/bin && chmod +x /usr/local/bin/sshcommand",

sshcommand

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ sshcommand-acl-add() {
137137
fi
138138

139139
if [[ -z "$KEY_FILE" ]]; then
140-
KEY_FILE=$(mktemp)
141-
KEY=$(tee "$KEY_FILE")
142-
trap 'rm -f "$KEY_FILE"' INT EXIT
140+
KEY=$(cat)
143141
else
144142
KEY=$(cat "$KEY_FILE")
145143
fi

0 commit comments

Comments
 (0)