Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 816595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:51:29+00:00 2026-05-15T01:51:29+00:00

I’m trying to deploy a django app with fabric and get the following error:

  • 0

I’m trying to deploy a django app with fabric and get the following
error:

Alexs-MacBook:fabric alex$ fab config:instance=peergw deploy -H <ip> - 
u <username> -p <password> 

[192.168.2.93] run: cat /etc/issue 

Traceback (most recent call last): 

  File "build/bdist.macosx-10.6-universal/egg/fabric/main.py", line 

419, in main 

  File "/Users/alex/Rabota/server/mx30/scripts/fabric/fab/ 

commands.py", line 37, in deploy 

    checkup() 

  File "/Users/alex/Rabota/server/mx30/scripts/fabric/fab/ 

commands.py", line 140, in checkup 

    if not 'Ubuntu' in run('cat /etc/issue'): 

  File "build/bdist.macosx-10.6-universal/egg/fabric/network.py", line 

382, in host_prompting_wrapper 

  File "build/bdist.macosx-10.6-universal/egg/fabric/operations.py", 

line 414, in run 

  File "build/bdist.macosx-10.6-universal/egg/fabric/network.py", line 

65, in __getitem__ 

  File "build/bdist.macosx-10.6-universal/egg/fabric/network.py", line 

140, in connect 

  File "build/bdist.macosx-10.6-universal/egg/paramiko/client.py", 

line 149, in load_system_host_keys 

  File "build/bdist.macosx-10.6-universal/egg/paramiko/hostkeys.py", 

line 154, in load 

  File "build/bdist.macosx-10.6-universal/egg/paramiko/hostkeys.py", 

line 66, in from_line 

  File "build/bdist.macosx-10.6-universal/egg/paramiko/rsakey.py", 

line 61, in __init__ 

paramiko.SSHException: Invalid key 

Alexs-MacBook:fabric alex$ 

I can’t connect to the server via ssh. What can be my problem?

Regards, Arshavski Alexander.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T01:51:30+00:00Added an answer on May 15, 2026 at 1:51 am

    Going out on a limb here, I’d say your SSH key is incorrect:

    paramiko.SSHException: Invalid key

    What does your servers say when you try to ssh into it, using the username and password you were providing to fabric?

    On second thought: as you are providing fabric with a password, that might suggest your SSH host key has changed and / or has not yet been added to ~/.ssh/known_hosts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.