Open ixmatus opened 8 years ago
What documentation did you follow?
I've been using this: https://nixos.org/nixops/manual/ and I found the (demo, demo) credentials mentioned here: https://nixos.org/nixos/download.html
@ixmatus there are no default credentials. nixops ssh
uses internal private ssh keys. Otherwise it's whatever you put in .nix
configuration
@domenkozar well, I'm still confused because root
is passwordless on the nixos image? I finally have SSH working now but I still don't think this issue is resolved. If I ever have to "log in" by typing a username and password at the login screen on the virtualized terminal presented to me by Virtualbox (i.e, I have virtualbox.headless = false
) I still don't know how to do that.
So the information is just missing unless I skipped something (which is certainly possible), if it's "fiddle with the configuration here to set the credentials you would want or use" then I would also be happy to add that to the docs for you guys and submit a PR.
root
is passwordless on livecd. You're deploying an actual NixOS, which is locked down by default.
Huh, I tried with no password too and that didn't work.
Also (slightly off-topic, I can move to another ticket if you like), the SSH issue was because I had an interface named virtr0
up and nixops was, for some reason, deriving the image's IP address from that interface instead of vboxnet0
, removing the interface fixed the issue. Would that also be useful for me to add to docs?
@ixmatus sure!
Documentation doesn't mention the user or password for the image used by nixops and the one I did find (demo, demo) doesn't work.