To shut down a Juniper router in an orderly fashion, go to the shell as described in the previous step and do halt or reboot.
set login user siemsen
set login user siemsen full-name "Scot Siemsen"
set login user siemsen class super-user
set login user siemsen uid 5462
set login user siemsen authentication plain-text-password
That last one will prompt you for a password. Then, print out
your ~/.ssh/identity.pub file and cut/paste it's
contents into the following command to replace the xxx. You may
have trouble getting rid of carriage-returns or other noise in the
string.
set login user siemsen authentication ssh-rsa "xxx"
Then, try "ssh gin" or "ssh -1 gin".