Quantcast
Channel: CircleCI Discuss - Latest posts
Viewing all articles
Browse latest Browse all 14951

Issues with SSH

$
0
0

@bilalsattar24,

Could you try adding “ssh.pythonanywhere.com” to the known_hosts file?

You can either add an extra step:

  - run:
      name: Update known hosts
      command: ssh-keyscan -H ssh.pythonanywhere.com >> ~/.ssh/known_hosts

Or add the command to an existing step:

  - run:
      command: |
        ssh-keyscan -H ssh.pythonanywhere.com >> ~/.ssh/known_hosts 
        ssh $pythonAnywhereUser@ssh.pythonanywhere.com

Viewing all articles
Browse latest Browse all 14951

Trending Articles