AFAIK you cannot do an in-tty login as root via
but I had no problem performing tasks as root using one-line sudo commands such as
sudo apt-get install make
on my Debian Wheezy VMs. IIRC, I was prompted for a password when I used sudo, but it accepted a blank password. I hadn't used a passphrase on my RSA key at that point yet, though -- it might link to that?
As for SSH-ing in using putty:
- Use puttygen to make a public/private SSH-2 RSA key pair
- Load puttygen
- Click 'Generate'
- Wiggle the mouse as it instructs
- When the key is ready, change the 'key comment' field to your login username (this is important, as it tells the VM which username to expect)
- Save the private key somewhere handy
- Copy all of the text out of the 'Public key for pasting into OpenSSH authorized_keys file' (Alt+P will select the whole text block) and save it somewhere handy
- Create a new GCC VM instance, or edit an existing one.
- Click 'Show advanced options'
- Under 'SSH Keys', paste the entire contents of the public key into the 'Enter entire key data' box. The 'Username' field next to the box should change to your login name at this time. I don't think you need to click 'Add Key' unless you have another SSH key that you want to associate with the instance.
- Ensure that an external IP address is assigned to the instance (Ephemeral or Static both work -- the Ephemeral won't change as long as you keep the instance running, and may not change even if you take it down for short periods of time.)
- Further reconfigure the instance as desired and click 'Create' or 'Apply'
That should do it from the GCC side.
- Configure putty for SSH into the GCC VM
- Run putty
- Enter the external VM IP address (not the 10.x.x.x one) into the 'Host Name' field of the 'Session' settings (should be what you see first on loading putty)
- Under 'Connection\Data' enter your login username into the 'Auto-login username' field
- Under 'Connection\SSH\Auth' click 'Browse' next to 'Private key file for authentication' and locate the private key you saved above from puttygen.
- Under 'Session' type a nickname for the connection into the textbox under 'Saved Sessions' and then click 'Save' (this lets you not have to re-enter everything every time, by just selecting the nickname in the list and clicking 'Load')
And I think that should do it from the putty side.
May have left something out, but I think that's the key steps.