SSH inventory code for main project