.ssh/knownhosts #4
@ -16,6 +16,8 @@ steps:
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk add --no-cache openssh-client
|
||||
- mkdir -p ~/.ssh
|
||||
- ssh-keyscan www.mitchecp.com >> ~/.ssh/known_hosts
|
||||
- ssh ec2-user@www.mitchecp.com "cd /home/ec2-user && touch aaa.txt"
|
||||
when:
|
||||
branch:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user