#3 ✓resolved
No1451

SSH Unknown Error

Reported by No1451 | March 16th, 2010 @ 04:15 PM

When attempting to connect to a remote SSH session I get an "SSH: Unknown Error" message. Pics included

Comments and changes to this ticket

  • vovasty

    vovasty March 16th, 2010 @ 07:54 PM

    • Assigned user set to “vovasty”
    1. Open Console.app (under /Applications/Utilities)
    2. Open Nativa
    3. Configure rtorrent connection and push save button
    4. Look into Console and copy/paste log messages to this ticked, which looks like to
      16.03.10 5:42:58 Nativa[10015]message

    NB
    I suppose you remove images with your private information (username and host)

  • No1451

    No1451 March 16th, 2010 @ 10:44 PM

    10-03-16 3:40:58 PM Nativa[27848] Session (null) is now closed.
    10-03-16 3:41:02 PM Nativa[27848] Used SSH Command : ssh -N -L 5006:127.0.0.1:5006 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-16 3:41:02 PM Nativa[27848] Session (null) is now launched.
    10-03-16 3:41:02 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa[27848] child process exited abnormally
    10-03-16 3:41:02 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa[27848] while executing
    10-03-16 3:41:02 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa[27848] "exec ps | awk /$arguments/ | awk {!/(grep|expect)/ {print $1}} | xargs kill"
    10-03-16 3:41:02 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa27848
    10-03-16 3:41:02 PM Nativa[27848] reconnecting ssh tunnel ...
    10-03-16 3:41:02 PM Nativa[27848] Used SSH Command : ssh -N -L 5006:127.0.0.1:5006 chuckles@hosta08.expertrepair.co.uk -p 22

    And then it repeats a bunch

  • vovasty

    vovasty March 16th, 2010 @ 10:54 PM

    Can you execute command
    /Applications/Nativa.app/Contents/Resources/SSHCommand.sh "ssh -N -L 5006:127.0.0.1:5006 chuckles@hosta08.expertrepair.co.uk -p 22"

    in terminal and post execution results here?

  • No1451

    No1451 March 17th, 2010 @ 05:09 AM

    I get this:

    spawn ssh -N -L 5000:127.0.0.1:5000 chuckles@hosta08.expertrepair.co.uk -p 22
    chuckles@hosta08.expertrepair.co.uk's password:
    Permission denied, please try again.
    chuckles@hosta08.expertrepair.co.uk's password: WRONG_PASSWORD

    It just skips past the entry portion, in Console:

    10-03-16 9:52:11 PM Nativa[27848] Session (null) is now launched.
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa error writing "stdout": broken pipe
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa while executing
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa "puts "WRONG_PASSWORD""
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa invoked from within
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa "expect "?assword:" {puts "WRONG_PASSWORD"; exit;}"
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa invoked from within
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa "expect {
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa "?sh: Error" {puts "CONNECTION_ERROR"; exit};
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa "
    yes/no" {send "yes\r"; exp_continue};
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa "
    Connection refused*" {puts "CONNECTION_REFUSE..."
    10-03-16 9:52:14 PM [0x0-0xb7cb7c].net.aramzamzam.Nativa (file "/Applications/Nativa.app/Contents/Resources/SSHCommand.sh" line 34)

  • vovasty

    vovasty March 17th, 2010 @ 10:38 PM

    Looks like when you first time tried to configure Native, thereis another ssh tunnel already running on other account on same computer.
    Nativa tried to kill it, but was unable to do it.

    I suggest you to use another local port (5007, for example), or use same tunnel for Nativa. For usage same tunnel your configuration will be:
    SCGI host: 127.0.0.1
    port: 5006
    SSH unchecked

  • No1451

    No1451 March 17th, 2010 @ 11:03 PM

    When I do that it just says connection refused, what sorts of things would create an ssh tunnel that would affect Nativa? Can I just kill them off and go from there? I can still SSH into the box just fine using Terminal, can I just SSH in on terminal and then get Nativa to use that tunnel? Thanks

  • vovasty

    vovasty March 17th, 2010 @ 11:37 PM

    • State changed from “new” to “open”

    for some reason, when SSH exits, port retains "busy" for some seconds. Of course, you can establish ssh tunnel manually with command like ssh -N -L 5000:127.0.0.1:5000 chuckles@hosta08.expertrepair.co.uk -p 22 and use nativa with this tunnel (just uncheck use SSH in settings)

    Can you try attached version of Nativa with possible fix of this problem?

  • No1451

    No1451 March 18th, 2010 @ 05:33 AM

    Ok, so with the newest version it does connect, I see this at launch in console. However it sits forever stuck at "Connecting...". I really hope this gets working, I am loving the look of what this app can do:)

    10-03-17 10:31:24 PM Nativa[704] Used SSH Command : ssh -N -L 5000:127.0.0.1:5000 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-17 10:31:24 PM Nativa[704] Session (null) is now launched.
    10-03-17 10:31:24 PM Nativa[704] Used SSH Command : ssh -N -L 5000:127.0.0.1:5000 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-17 10:31:24 PM Nativa[704] Session (null) is now launched.
    10-03-17 10:31:24 PM Nativa[704] Used SSH Command : ssh -N -L 5000:127.0.0.1:5000 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-17 10:31:24 PM Nativa[704] Session (null) is now launched.
    10-03-17 10:31:24 PM Nativa[704] Used SSH Command : ssh -N -L 5000:127.0.0.1:5000 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-17 10:31:24 PM Nativa[704] Session (null) is now launched.
    10-03-17 10:31:24 PM Nativa[704] Can't open input server /Library/InputManagers/MultiClutchInputManager.bundle
    10-03-17 10:31:24 PM Nativa[704] ssh out:spawn ssh -N -L 5000:127.0.0.1:5000 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-17 10:31:25 PM Nativa[704] ssh out:chuckles@hosta08.expertrepair.co.uk's password:
    10-03-17 10:31:25 PM Nativa[704] ssh out:
    10-03-17 10:31:29 PM Nativa[704] ssh out:CONNECTED

  • vovasty
  • No1451

    No1451 March 19th, 2010 @ 12:48 AM

    Still no love, am I doing something seriously wrong here? The scgi port used on my remote box is 5006.

    It accepts it but now when I start it says "connecting" then does nothing, my console log:

    10-03-18 5:47:09 PM Nativa[2482] Session (null) is now closed.
    10-03-18 5:47:09 PM Nativa[2482] Used SSH Command : ssh -N -L 5006::5000 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-18 5:47:10 PM Nativa[2482] Session (null) is now launched.
    10-03-18 5:47:15 PM [0x0-0x129129].net.aramzamzam.Nativa error writing "stdout": broken pipe
    10-03-18 5:47:15 PM [0x0-0x129129].net.aramzamzam.Nativa while executing
    10-03-18 5:47:15 PM [0x0-0x129129].net.aramzamzam.Nativa "puts "CONNECTED""
    10-03-18 5:47:15 PM [0x0-0x129129].net.aramzamzam.Nativa (file "/Applications/Nativa-1.app/Contents/Resources/SSHCommand.sh" line 47)
    10-03-18 5:47:15 PM Nativa[2525] Used SSH Command : ssh -N -L 5006::5000 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-18 5:47:15 PM Nativa[2525] Session (null) is now launched.
    10-03-18 5:47:15 PM Nativa[2525] Can't open input server /Library/InputManagers/MultiClutchInputManager.bundle
    10-03-18 5:47:15 PM Nativa[2525] ssh out:spawn ssh -N -L 5006::5000 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-18 5:47:16 PM Nativa[2525] ssh out:chuckles@hosta08.expertrepair.co.uk's password:
    10-03-18 5:47:16 PM Nativa[2525] ssh out:
    10-03-18 5:47:20 PM Nativa[2525] ssh out:CONNECTED

  • vovasty

    vovasty March 19th, 2010 @ 12:50 AM

    looks like you forgot SCGI host (127.0.0.1)

  • No1451

    No1451 March 19th, 2010 @ 12:57 AM

    When I do put it in it works....sort of. It's pulling up a list of torrents that in no way reflects what's going on on my box

  • No1451

    No1451 March 19th, 2010 @ 01:14 AM

    Scratch that! It works, I played with a few more things and got it sorted, ticket closed:). Thanks for your prompt replies vovasty and thanks for this excellent app, so much nicer than a webUI.

    Is there any chance a setting like Transmission's "Automatically size window to fit all transfers"? That would make this absolutely 100% perfect in my eyes.

  • vovasty

    vovasty March 19th, 2010 @ 01:20 AM

    • State changed from “open” to “resolved”

    You always can create ticket with your suggestions

  • No1451

    No1451 March 19th, 2010 @ 01:23 AM

    I thought it was resolved, but it wasn't. The only way to get it to connect is to piggyback on an SSH tunnel by connecting via terminal :(

  • vovasty

    vovasty March 19th, 2010 @ 01:31 AM

    • State changed from “resolved” to “open”

    Endless "Connecting..." message?

  • No1451

    No1451 March 19th, 2010 @ 01:32 AM

    SSH: unknown error

  • vovasty
  • No1451

    No1451 March 19th, 2010 @ 01:36 AM

    10-03-18 6:34:46 PM Nativa[3207] Session (null) is now launched.
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] child process exited abnormally
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] while executing
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] "exec ps -opid,args | awk /$arguments/ | awk {!/(grep|expect)/ {print $1}} | xargs kill"
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa3207
    10-03-18 6:34:46 PM Nativa[3207] reconnecting ssh tunnel ...
    10-03-18 6:34:46 PM Nativa[3207] Used SSH Command : ssh -N -L 5006:127.0.0.1:5006 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-18 6:34:46 PM Nativa[3207] Session (null) is now launched.
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] child process exited abnormally
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] while executing
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] "exec ps -opid,args | awk /$arguments/ | awk {!/(grep|expect)/ {print $1}} | xargs kill"
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa3207
    10-03-18 6:34:46 PM Nativa[3207] reconnecting ssh tunnel ...
    10-03-18 6:34:46 PM Nativa[3207] Used SSH Command : ssh -N -L 5006:127.0.0.1:5006 chuckles@hosta08.expertrepair.co.uk -p 22
    10-03-18 6:34:46 PM Nativa[3207] Session (null) is now launched.
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] child process exited abnormally
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] while executing
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa[3207] "exec ps -opid,args | awk /$arguments/ | awk {!/(grep|expect)/ {print $1}} | xargs kill"
    10-03-18 6:34:46 PM [0x0-0x148148].net.aramzamzam.Nativa3207
    10-03-18 6:34:46 PM Nativa[3207] ssh tunnel error: SSH: unknown error

    It repeats a bunch, all the same dialogue again and again until it hits the unknown error

  • vovasty

    vovasty March 19th, 2010 @ 01:43 AM

    Try this one. If all will be okay, logout and try to connect again

  • No1451

    No1451 March 19th, 2010 @ 01:52 AM

    Working, I reset my machine to ensure there were no other pipes open, it looks like your dev magic worked. Thanks!

  • vovasty

    vovasty March 19th, 2010 @ 01:54 AM

    • State changed from “open” to “resolved”

    Thank you for your patience ;)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

native Mac OS X client for rtorrent

more information: http://www.aramzamzam.net/nativa/

Shared Ticket Bins

People watching this ticket

Pages