mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* update examples (#84)
This commit is contained in:
parent
d5290d5608
commit
43f3196fa8
1 changed files with 0 additions and 4 deletions
|
@ -29,8 +29,6 @@ steps:
|
|||
name: id_rsa # optional
|
||||
known-hosts: ${{ secrets.KNOWN_HOSTS }} # known_hosts; optional
|
||||
config: ${{ secrets.CONFIG }} # ssh_config; optional
|
||||
- name: Install packages
|
||||
run: apt install openssh-client rsync
|
||||
- name: rsync over ssh
|
||||
run: rsync ./foo/ user@remote:bar/
|
||||
```
|
||||
|
@ -70,8 +68,6 @@ steps:
|
|||
User user-of-target
|
||||
IdentityFile ~/.ssh/id_rsa-target
|
||||
ProxyCommand ssh -W %h:%p bastion
|
||||
- name: Install packages
|
||||
run: apt install openssh-client
|
||||
- name: SCP via port-forwarding
|
||||
run: scp ./foo/ target:bar/
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue