-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in /home/runner/.ssh/config #14
Comments
Hmm, might be something on the runner that has changed. |
It worked for me yesterday: https://github.com/cross-platform-actions/action/actions/runs/3747149015. |
I just noticed that the Ubuntu version has changed from 20.04.5 (LTS) to 22.04.1(LTS) Last working build: https://github.com/gansm/finalcut/actions/runs/3634569559/jobs/6132780682
Current build: https://github.com/gansm/finalcut/actions/runs/3754613414/jobs/6378990692
|
I see that you recently added an environment variable to the usage of this action. Could you please try to remove that and see if it makes any difference. env:
WORKSPACE_PATH: "${{ github.workspace }}" |
Yes, that's definitely it. I managed to reproduce it. BTW, if you set an environment variable using |
It works now with
Is there any hope that it will work again in the future without this workaround? |
It has always been required to use the |
I'm afraid you misunderstood me. I don't want to use any environment variables at all. But it seems that I have to do it now. If I don't set an environment variable, you have in the /home/runner/.ssh/config in line 6 only "sendenv" without a parameter. |
Yes, and I think I still misunderstand you. If you don't want to use any environment variables, why did you add one? It should work if you remove: env:
WORKSPACE_PATH: "${{ github.workspace }}" |
Hmm, ok. So removing the environment variable doesn't help. Now I understand the problem (I think 😄). Since no one has reported this before it has to be related to a new version of Ubuntu, which probably comes with a new version of SSH. I'm using environment variables in the pipeline for this action, therefore I haven't encountered the issue myself. |
I believe that in the old (20.04) Ubuntu [...]
const lines = [
'StrictHostKeyChecking=accept-new',
`Host ${ipAddress}`,
`Port ${this.operatingSystem.ssHostPort}`,
`IdentityFile ${this.privateSshKey}`,
'SendEnv CI GITHUB_*',
`SendEnv ${this.input.environmentVariables}`, // <==== Line 6
'PasswordAuthentication no'
].join('\n')
[...] |
Fixed in 0.7.0. |
Since December 8, GitHub Action for FreeBSD, NetBSD, and OpenBSD no longer work for me. On December 7, everything was still working. Looks to me like an empty variable.
I receive the following output:
The text was updated successfully, but these errors were encountered: