Skip to content

Has nix-on-droid user a password ? #70

@573

Description

@573

I am trying to follow https://github.com/t184256/nix-on-droid/wiki/SSH-access

When I do ssh-copy-id

nix run nixpkgs.openssh -c ssh-copy-id -p 8022 -i ~/.ssh/phone nix-on-droid@<ip>

from my remote machine while running

nix run nixpkgs.openssh -c /nix/store/(...)/bin/sshd -f sshd_config_local -ddd

on the phone (nix-on-droid) I am getting

/nix/store/wdbg7kyylmvg48w0wklrjdhvgya4lcgi-openssh-8.2p1/bin/ssh-copy-id: ERROR: ssh: connect to host port 8022: Connection refused

I had to run the following in order to run the previous command

touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

When I'm trying

nix run nixpkgs.openssh -c ssh -p 8022 -i ~/.ssh/phone -l nix-on-droid <ip>

I am getting

nix-on-droid@'s password:

My question would be is there a password for nix-on-droid user ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions