On Fri, Feb 17, 2017 at 1:54 PM, rohit yadav <[email protected]> wrote:
> > > On Fri, Feb 17, 2017 at 1:52 PM, Rickard Nilsson < > [email protected]> wrote: > >> On 02/17/2017 08:46 PM, rohit yadav wrote: >> >>> >>> >>> On Fri, Feb 17, 2017 at 1:11 PM, Rickard Nilsson >>> <[email protected] <mailto:[email protected]>> 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? > > I tried both to connect to nixos machine. > > ssh -o UserKnownHostsFile=/dev/null -o CheckHostIP=no -o > StrictHostKeyChecking=ask [email protected] > Please ignore this thread. It is working fine. The ssh-key I added had a space between the strings. it works fine now. > > >> >> >> / Rickard >> > >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
