appleboy / appleboy/ssh-action

Unable to Specify -ohostkeyalgorithms=+ssh-dss

Open
#265 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
6.2k
Forks
679
Avg merge
35m
Merged PRs (30d)
1

Description

Hello Team,

I need to use this github actions to login to a machine and to run a shell Script.

- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.10
with:
host: ${{ secrets.BILLING_HOST }}
username: ${{ secrets.BILLING_USER }}
password: ${{ secrets.BILLING_PASS }}
port: ${{ env.PORT }}
script_stop: true
script: ssh -ohostkeyalgorithms=+ssh-dss user@20.x.x.x "echo Hello"

However, i need to pass The host key Algorithm to login.. May i ask how to pass the same ?

@appleboy

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.