srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-06-02 10:23:18 +0200
committersrdusr <[email protected]>2023-06-02 10:23:18 +0200
commitac0ea8c8c3249891ab26367ff65f8c575e497d48 (patch)
tree287bd711834c9f248de8b068ce30f8ec9ddce557 /tools
parent61326c28d24af23d26a68cbf7a48b4ada6bb9a02 (diff)
downloadnotes-ac0ea8c8c3249891ab26367ff65f8c575e497d48.tar.gz
notes-ac0ea8c8c3249891ab26367ff65f8c575e497d48.zip
Info about ssh-copy-id
Diffstat (limited to 'tools')
-rw-r--r--tools/ssh.md3
1 files changed, 3 insertions, 0 deletions
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 [email protected]`
+
* Android remote host into desktop server, assuming default port 8022
`$ ssh [email protected] -p 8022`