Fix nesting issue that caused a crash when accessing a device through SSH
Fix nesting issue that caused a crash when accessing a device through SSH

dleyanlin/idb,dleyanlin/idb,dleyanlin/idb,hankbao/idb,dmayer/idb,firebitsbr/idb