From ac0ea8c8c3249891ab26367ff65f8c575e497d48 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 2 Jun 2023 10:23:18 +0200 Subject: Info about ssh-copy-id --- tools/ssh.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/ssh.md b/tools/ssh.md index c668477..8d71321 100644 --- a/tools/ssh.md +++ b/tools/ssh.md @@ -75,6 +75,9 @@ * Start server in machine that will ssh into `$ sshd` +* Send authorization to the remote target so we can ssh into the machine +`$ ssh-copy-id -p 8022 -i ~/.ssh/id_rsa.pub user@ip.address` + * Android remote host into desktop server, assuming default port 8022 `$ ssh your_desktop_ssh_user@YOUR.DESKTOP.IP.ADDRESS -p 8022` -- cgit v1.2.3