-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Description
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
Labels
No labels