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 8007457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:49:52+00:00 2026-06-04T17:49:52+00:00

I want to run an iPython kernel on a Linux box and then connect

  • 0

I want to run an iPython kernel on a Linux box and then connect to it remotely on a windows machine. The ipython kernel works fine and I can connect a qtconsole to it locally on the Linux box.
On Windows I have installed ipython and paramiko as its ssh client.
I run the following command on Windows 7 x64 cmd

D:\...\.ssh>ipython qtconsole --IPythonConsoleApp.sshserver='user@hostname:22' --IPythonConsoleApp.sshkey='myKey' --IPythonConsoleApp.password='1234'

I get the following error:

[IPythonQtConsoleApp] Could not setup tunnels
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\IPython\frontend\consoleapp.py", line 289, in init_ssh
    newports = tunnel_to_kernel(info, self.sshserver, self.sshkey)
  File "C:\Python27\lib\site-packages\IPython\lib\kernel.py", line 245, in tunnel_to_kernel
    if tunnel.try_passwordless_ssh(sshserver, sshkey):
  File "C:\Python27\lib\site-packages\IPython\external\ssh\tunnel.py", line 87, in try_passwordless_ssh
    return f(server, keyfile)
  File "C:\Python27\lib\site-packages\IPython\external\ssh\tunnel.py", line 123, in _try_passwordless_paramiko
    look_for_keys=True)
  File "C:\Python27\lib\site-packages\paramiko\client.py", line 332, in connect
    self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys)
  File "C:\Python27\lib\site-packages\paramiko\client.py", line 493, in _auth
    raise saved_exception
SSHException: not a valid DSA private key file

The key is even created with RSA.

Has anybody had a success in connecting remotely from a Windows machine to a remote ipython kernel?

  • 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-06-04T17:49:53+00:00Added an answer on June 4, 2026 at 5:49 pm

    You say

    The key is even created with *R*SA.

    but

    SSHException: not a valid *D*SA private key file

    RSA and DSA are different algorithms.

    Either create a DSA private key file, or configure ipython to use RSA.

    (I am not familiar with ipython, so cannot advise on the specifics. Sorry.)

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

Sidebar

Related Questions

I want to run a script remotely. But the system doesn't recognize the path.
i want to run some command on several machine using ssh. I know it
I want to run Mac OS in my Windows operative system, is there any
I have an app(django-compressor) that I only want to run on my local machine
I want run a Bash script as root , but delayed. How can I
I want to run my c# application with OS Linux using Mono. I am
I want to run a weekly batch process in an asp.net page. How can
Can i somehow instance ipython (or even better, ipython-qtconsole) and step trough its's (IPython's)
I want to run unit and integrated tests for my windows phone 7 application.But
Inside ipython you can use a magic command: %run -d myapp.py This will run

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.