[Nix-dev] Unable to ssh into a GCE nixos machine
Rickard Nilsson
rickard.nilsson at telia.com
Fri Feb 17 20:52:18 CET 2017
On 02/17/2017 08:46 PM, rohit yadav wrote:
>
>
> On Fri, Feb 17, 2017 at 1:11 PM, Rickard Nilsson
> <rickard.nilsson at telia.com <mailto:rickard.nilsson at telia.com>> wrote:
>
> On 02/17/2017 08:05 PM, rohit yadav wrote:
>
> Hi,
>
> I followed the following tutorial to create a NixOS VM @GCE but
> cannot
> login. I did setup all the keys are stated. Anyone faced this
> problem
> before.
>
> https://nixos.org/wiki/Installing_NixOS_on_GCE
> <https://nixos.org/wiki/Installing_NixOS_on_GCE>
>
>
> Can you tell us a bit more about what errors you get? Maybe try
> running your ssh client with verbose logging.
>
> For GCE, you should be able to look at the serial console through
> the web interface. That might give you hints about any services that
> might have failed.
>
> Here is the output of the serial console:
> http://pastebin.com/wRYaadFY
>
> It seems that ssh-daemon is starting fine and all the keys are
> downloaded as expected. In verbose mode, it shows the following
> http://pastebin.com/BKx94sfN
>
> Somehow it is not able to authenticate with key.
This is may be a stupid question, but are you connecting as root user?
/ Rickard
More information about the nix-dev
mailing list