Entering and exiting maintenance mode via command line. Login in using putty to Host.
to go into maintenance mode – and to leave it:vim-cmd hostsvc/maintenance_mode_exit
If you’re interested in other useful commands, you can see more hostsvc options by running:
vim-cmd hostsvc