Skip to content

Commit c2c429a

Browse files
committed
When cache time is overdue, make a full keys update
1 parent 68c44d3 commit c2c429a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-res/ssh/authorize.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ elif ! grep -q " $public_key " /etc/ssh/authorized_keys_cache; then
3434
fi
3535
elif [ $time_difference -ge $CACHE_TIME ]; then
3636
# Run the python script to update the cache in the background so the command can directly return
37-
nohup python /etc/ssh/update_authorized_keys.py > /dev/null 2>&1 &
37+
nohup python /etc/ssh/update_authorized_keys.py full > /dev/null 2>&1 &
3838
fi
3939

4040
# Return the collected keys to the OpenSSH server

0 commit comments

Comments
 (0)