Migli0 Ma se apri una normale sessione ssh, esegui il comando, non ti fa nessuna sbrodolata di configurazione su stdout?
Niente di niente
login as:
XXXXX@192.168.99.1's password:
ZySH> x cfgget
Usage: cfgget cfgget : Get device current full configurations.
ZySH>
ma ripeto, da risposte strane anche su altri comandi, tipo (è il log di una volta che mi ero chiuso fuori e già mi preparavo a salire sul tetto)
ZySH> cfg mgmt_srv edit --Index 1 --Mode LAN_ONLY
>>>>> cfg mgmt_srv edit --Index 1 --Mode LAN_ONLY
^ Incomplete command!
ZySH> cfg mgmt_srv get
WAN Interface used for services: Multi WAN, Cellular WAN 1
Index Name Mode Port
1 HTTP None 80
2 HTTPS None 443
3 FTP LAN_ONLY 21
4 TELNET LAN_ONLY 23
5 SSH LAN_ONLY 22
6 PING LAN_ONLY N/A
Command Successful.
ZySH> cfg mgmt_srv edit --Index 1 --Mode LAN_ONLY
Command Successful.
ZySH> cfg mgmt_srv get
WAN Interface used for services: Multi WAN, Cellular WAN 1
Index Name Mode Port
1 HTTP LAN_ONLY 80
2 HTTPS None 443
3 FTP LAN_ONLY 21
4 TELNET LAN_ONLY 23
5 SSH LAN_ONLY 22
6 PING LAN_ONLY N/A
Command Successful.
ZySH>
Non so se si nota che il comando prima lo da come incompleto e dato una seconda volta lo accetta...
Per cui "questa" shell mi da dei problemi.