Using an SSH keyfile with Fabric

后端 未结 8 1462
Happy的楠姐
Happy的楠姐 2020-11-28 18:42

How do you configure fabric to connect to remote hosts using SSH keyfiles (for example, Amazon EC2 instances)?

8条回答
  •  时光取名叫无心
    2020-11-28 19:29

    Also worth mentioning here that you can use the command line args for this:

    fab command -i /path/to/key.pem [-H [user@]host[:port]]
    

提交回复
热议问题