mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-13 05:39:23 +00:00
Merge pull request #2027 from justincormack/mobyup
Use the user's ssh key automatically in ssh examples
This commit is contained in:
@@ -18,7 +18,9 @@ services:
|
||||
image: "linuxkit/sshd:abc1f5e096982ebc3fb61c506aed3ac9c2ae4d55"
|
||||
files:
|
||||
- path: root/.ssh/authorized_keys
|
||||
contents: '#public ssh key here'
|
||||
source: ~/.ssh/id_rsa.pub
|
||||
mode: "0600"
|
||||
optional: true
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
|
@@ -18,7 +18,9 @@ services:
|
||||
image: "linuxkit/sshd:abc1f5e096982ebc3fb61c506aed3ac9c2ae4d55"
|
||||
files:
|
||||
- path: root/.ssh/authorized_keys
|
||||
contents: '#your ssh key here'
|
||||
source: ~/.ssh/id_rsa.pub
|
||||
mode: "0600"
|
||||
optional: true
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
|
@@ -22,7 +22,9 @@ services:
|
||||
image: "linuxkit/sshd:abc1f5e096982ebc3fb61c506aed3ac9c2ae4d55"
|
||||
files:
|
||||
- path: root/.ssh/authorized_keys
|
||||
contents: '#your ssh key here'
|
||||
source: ~/.ssh/id_rsa.pub
|
||||
mode: "0600"
|
||||
optional: true
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
|
@@ -37,7 +37,9 @@ services:
|
||||
|
||||
files:
|
||||
- path: root/.ssh/authorized_keys
|
||||
contents: '#your ssh key here'
|
||||
source: ~/.ssh/id_rsa.pub
|
||||
mode: "0600"
|
||||
optional: true
|
||||
|
||||
trust:
|
||||
org:
|
||||
|
Reference in New Issue
Block a user