Skip to content
Zac Liu edited this page Jun 23, 2022 · 2 revisions
  • How to setup ssh keyless for docker enviroments?

    1. set up ssh port" vi ~/.ssh/config
     Host 127.0.0.1
         Hostname 127.0.0.1
         Port xxxx # this is the port for your docker env
         User root
    1. ssh-copy-id [email protected] -p xxxx
    2. test ssh login localhost `ssh [email protected]
Clone this wiki locally