SV3200 Enable ssh Login

So you got yourself a shiny new HPE StoreVirtual 3200 device.  Now you want to login to the controllers over the network with ssh.  But by default, it’s not enabled (a good thing from a security point of view).

To enable it, go to the CLIQ> prompt on the 4th USB serial console, and enter:

setSupportLogin enabled=true

This allows what HPE calls a Support Login, which allows for ssh on the default port 22 to root@<your-bond-ip-address>

But now you have to deal with the OTP process: HPE’s one-time-password scheme that’s based on SKEY.  For that, you’ll need to work with an HPE support technician to go thru the challenge and responses, that will eventually get you logged into root.

Once a root user, you will want to bypass this OTP mechanism.  Fortunately HPE uses the standard Pluggable Authentication Mechanism (PAM), and provides both the SKEY mechanism as well as the standard one.  You want to switch it to the standard method.  It’s as simple as changing a softlink:

cd /etc/pam.d
ln -sf /etc/pam.lhn/sshd.std sshd

That should do it.  Now when you login as root via ssh, it’s a “normal” login!

One more thing, tho.  If you created users via the Web UI, and want to login to a shell for them, note that the web UI makes their default shell be CLIQ.  To change this, edit /etc/passwd and change the home dir and shell to something like /bin/bash .