webosose / ares-cli

ares-cli is a command-line interface(CLI) for webOS
Apache License 2.0
38 stars 17 forks source link

Avoid multiple ssh connection #30

Closed YoungeunKim closed 3 years ago

YoungeunKim commented 3 years ago

:Release Notes: Avoid multiple session connections in CLI

:Detailed Notes:

:Testing Performed:

  1. Passed unit test ose & auto target
  2. Passed eslint
  3. Verified with CLI commands a. $killall node b. Check ssh connection using $ss |grep ssh (OR $ss | grep target's_IP:PORT) . It shows no list. c. Install com.jasmine.web.app in CLI TC d. $ares-inspect.js -s com.jasmine.web.app.service e. $ss |grep ssh shows only one ssh connection. f. Press Ctrl+C to exit ares-inspect. g. $ss |grep ssh shows no list.

:Issues Addressed: [PLAT-137688] Avoid multiple ssh connections in CLI

YoungeunKim commented 3 years ago

Code :+1: Verified :+1: