Skip to content

Commit

Permalink
OpenSSH 7.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
flix- committed Apr 5, 2018
1 parent c48b0e6 commit 250155d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/docker/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=0.4.0-beta
KEETO_RPM_URL=https://keeto.io/static/downloads/keeto-0.4.0-beta/keeto-0.4.0-0.1.beta.el7.centos.x86_64.rpm
OPENSSH_SRC_URL=https://ftp.hostserver.de/pub/OpenBSD/OpenSSH/portable/openssh-7.6p1.tar.gz
OPENSSH_SRC_URL=https://ftp.hostserver.de/pub/OpenBSD/OpenSSH/portable/openssh-7.7p1.tar.gz
SYSLOG_NG_REPO_URL=https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng314/repo/epel-7/czanik-syslog-ng314-epel-7.repo

2 changes: 1 addition & 1 deletion build/docker/keeto-openssh/Dockerfile
4 changes: 2 additions & 2 deletions build/docker/keeto-openssh/config/ps1.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if [ "${KEETO_REAL_USER}" ]; then
PS1="[\u~"${KEETO_REAL_USER}"@\h \W]\$ "
if [ "${KEETOREALUSER}" ]; then
PS1="[\u~"${KEETOREALUSER}"@\h \W]\$ "
else
PS1="[\u@\h \W]\$ "
fi
Expand Down
2 changes: 1 addition & 1 deletion src/keeto.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ write_keystore(char *keystore, struct keeto_keystore_records *keystore_records)

struct keeto_keystore_record *keystore_record = NULL;
SIMPLEQ_FOREACH(keystore_record, keystore_records, next) {
fprintf(tmp_keystore_file, "environment=\"KEETO_REAL_USER=%s\"",
fprintf(tmp_keystore_file, "environment=\"KEETOREALUSER=%s\"",
keystore_record->uid);
bool command_option_set = keystore_record->command_option != NULL ?
true : false;
Expand Down

0 comments on commit 250155d

Please sign in to comment.