Skip to content
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

sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper #27

Open
AxharKhan opened this issue Nov 14, 2021 · 0 comments

Comments

@AxharKhan
Copy link

AxharKhan commented Nov 14, 2021

I know this is probably not an issue with this action but can I get some help with this, I am trying to restart a service on a ubuntu 20.04 server using this ssh action but I get this error.

    - name: Run SSH command
      uses: garygrossgarten/github-action-ssh@release
      with:
        command: sudo service **** restart
        host: ${{ secrets.REMOTE_HOST }}
        username: ${{ secrets.REMOTE_USER }}
        password: ${{ secrets.REMOTE_PASSWORD }}
        tryKeyboard: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant