mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-06-10 13:36:51 +00:00
ssh: breakout ups ssh to its own package
This was done for clearer separation of function. A subsequent update will (hopefully) make the SSL command more robust so it works for both NMC2 and NMC3. The method for sending shell commands was also updated to use an interactive shell instead. This allows capturing responses of the commands which will be needed to deduce if devices are NMC2 or NMC3.
This commit is contained in:
parent
41efc56c62
commit
06c9263bc4
11 changed files with 444 additions and 284 deletions
2
go.mod
2
go.mod
|
@ -14,6 +14,8 @@ replace apc-p15-tool/cmd/install_only => /cmd/install_only
|
|||
|
||||
replace apc-p15-tool/cmd/tool => /cmd/tool
|
||||
|
||||
replace apc-p15-tool/pkg/apcssh => /pkg/apcssh
|
||||
|
||||
replace apc-p15-tool/pkg/app => /pkg/app
|
||||
|
||||
replace apc-p15-tool/pkg/pkcs15 => /pkg/pkcs15
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue