Skip to content

ssh: unable to authenticate, attempted methods [none], no supported methods remain #251

Closed
@vishwasg217

Description

This is my github actions workflow file:

name: Deploy ML Model Web App

on:
push:
branches: [ main ]

jobs:
build-and-deploy:
runs-on: ubuntu-20.04

steps:
  - name: Checkout Repo
    uses: actions/checkout@v2
  
  - name: SSH into server
    uses: appleboy/ssh-action@master
    with:
      host: ${{ secrets.HOST }}
      username: root
      password: ${{ secrets.DO_DROPLET_SSH_PASS }}
      script: |
        cd Predictive-Maintenance
        git pull origin main
        docker rm -f $(docker ps -aq)
        docker rmi -f $(docker images -aq)
        docker-compose build
        docker-compose up -d

Error: ssh: unable to authenticate, attempted methods [none], no supported methods remain
please help me out with this

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions