Re: ssh problem using paramiko?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sa6113

    Re: ssh problem using paramiko?


    I couldn't find any good source for download Openssh on the net?
    Would you please introduce a URL for download that?


    Steve Holden-5 wrote:
    >
    sa6113 wrote:
    >I use this code :
    >>
    >>
    >import paramiko
    >import socket
    >>
    >hostname = "192.168.1. 4"
    >username = "test"
    >port = 22
    >password = ''123456"
    >>
    ># now connect
    >try:
    > sock = socket.socket(s ocket.AF_INET, socket.SOCK_STR EAM)
    > sock.connect((h ostname, port))
    >except Exception, e:
    > print 'Connect failed: ' + str(e)
    > traceback.print _exc()
    > sys.exit(1)
    >>
    >------------------
    >and I got this error :
    >sock.connect(( hostname, port))
    >File "<string>", line 1 , in connect
    >error:(10061 ,'Connection refused')
    >-------------------
    >what is the problem?
    >I have a computer with this Ip and username , password in my network.
    >Do I have to install ssh or somthing else in that computer(server ) or run
    >any script?
    >>
    >>
    Yes, 192.168.1.4 should have an ssh daemon (normally sshd) running and
    listening on port 22. It's fairly easy software to install.
    >
    regards
    Steve
    --
    Steve Holden +1 571 484 6266 +1 800 494 3119
    Holden Web LLC http://www.holdenweb.com/
    >
    --

    >
    >
    --
    View this message in context: http://www.nabble.com/ssh-problem-us...p19875248.html
    Sent from the Python - python-list mailing list archive at Nabble.com.

  • Diez B. Roggisch

    #2
    Re: ssh problem using paramiko?

    sa6113 wrote:
    >
    I couldn't find any good source for download Openssh on the net?
    Would you please introduce a URL for download that?
    Get all the latest vaporizer reviews, product spotlights, and monthly specials on the vapor blog. Stay informed and up to date on all things vapor.


    it supports only SSHv1, but I guess that's ok.

    Diez

    Comment

    • Steve Holden

      #3
      Re: ssh problem using paramiko?

      Diez B. Roggisch wrote:
      sa6113 wrote:
      >
      >I couldn't find any good source for download Openssh on the net?
      >Would you please introduce a URL for download that?
      >
      Get all the latest vaporizer reviews, product spotlights, and monthly specials on the vapor blog. Stay informed and up to date on all things vapor.

      >
      it supports only SSHv1, but I guess that's ok.
      >
      No, you really don't want to use SSHv1. Amtelnet won't do, it's an SSH
      *server* the OP needs, I understand. Why not openssh.org?

      regards
      Steve
      --
      Steve Holden +1 571 484 6266 +1 800 494 3119
      Holden Web LLC http://www.holdenweb.com/

      Comment

      • Diez B. Roggisch

        #4
        Re: ssh problem using paramiko?

        Steve Holden wrote:
        Diez B. Roggisch wrote:
        >sa6113 wrote:
        >>
        >>I couldn't find any good source for download Openssh on the net?
        >>Would you please introduce a URL for download that?
        >>
        >http://www.vapor.com/amtelnet/
        >>
        >it supports only SSHv1, but I guess that's ok.
        >>
        No, you really don't want to use SSHv1. Amtelnet won't do, it's an SSH
        *server* the OP needs, I understand. Why not openssh.org?
        The post was not intended to be meant serious. The OP has not provided
        *anything* on the system he uses, what he actually needs, and so forth. So
        I just searched for the most unlikely implementation.

        Diez

        Comment

        • Steve Holden

          #5
          Re: ssh problem using paramiko?

          Diez B. Roggisch wrote:
          Steve Holden wrote:
          >
          >Diez B. Roggisch wrote:
          >>sa6113 wrote:
          >>>
          >>>I couldn't find any good source for download Openssh on the net?
          >>>Would you please introduce a URL for download that?
          >>http://www.vapor.com/amtelnet/
          >>>
          >>it supports only SSHv1, but I guess that's ok.
          >>>
          >No, you really don't want to use SSHv1. Amtelnet won't do, it's an SSH
          >*server* the OP needs, I understand. Why not openssh.org?
          >
          The post was not intended to be meant serious. The OP has not provided
          *anything* on the system he uses, what he actually needs, and so forth. So
          I just searched for the most unlikely implementation.
          >
          Pardon my seriousness :)

          regards
          Steve
          --
          Steve Holden +1 571 484 6266 +1 800 494 3119
          Holden Web LLC http://www.holdenweb.com/

          Comment

          Working...