Skip to content

Commit 50a1073

Browse files
committed
added ssh
1 parent ac170e6 commit 50a1073

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN </dev/null DEBIAN_FRONTEND=noninteractive
3737

3838
# install some tools for net monitoring
3939
RUN apt-get --yes install --no-install-recommends \
40-
curl cron tcpdump iputils-ping procps telnet mtr nmap net-tools
40+
curl cron tcpdump iputils-ping procps telnet mtr nmap net-tools openssh-server
4141

4242
# install wireguard
4343
RUN apt-get --yes install --no-install-recommends wireguard

app/backend/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ def nat_set_target():
252252
cfg.store()
253253
return {'target': cfg.data["DNAT_TARGET"]}
254254

255-
#
256255

257256
###########################################################
258257
# api the wireguard interface
@@ -282,15 +281,14 @@ def get_interfaces():
282281
# starting the app and the main interface classes
283282
###########################################################
284283

285-
286284
if auto_connect:
287285
logger.info("Autoconnect on, doing the startup routine")
288286
status = warpcli.get_status()
289287
logger.info(f"warp status : {status}")
290288
if isinstance(status,dict) and 'status' in status.keys():
291289
if status['status'] == 'Unable':
292290
status = warpcli.new_connector()
293-
logger.info(f"cew connector : {status}")
291+
logger.info(f"new connector : {status}")
294292
i = 20
295293
while i>0:
296294
status = warpcli.get_status()

0 commit comments

Comments
 (0)