Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

SSHError Code=4 "Failed getting banner"

#50

I have tried as many different permutations I can imagine in the settings for Nativa 0.7.1 (31) to try to get my seedbox working.

I am consistently getting the following error message in Console:

2/9/16 10:58:21.105 AM Nativa[931]: debug: unable to connect Optional(Error Domain=SwiftySSH.SSHError Code=4 "Failed getting banner" UserInfo={NSLocalizedDescription=Failed getting banner})

My settings are as follows (some values hidden for privacy)

SCGI port: localhost:5000
Connect via SSH - checked
Host:******.seedstuff.ca:443
User:*******
Password:*********

Any ideas or suggestions?

Reported by warthog3 · February 9th, 2016 @ 07:02 PM

State: hold
Milestone: none
Assigned to: vovasty vovasty

Activity

  1. vovasty
    vovasty

    could you connect to your server using ssh clint with verbose output and post results here? (do not forget to strip out all sensitive info)

    ssh -v hostname

    February 9th, 2016 @ 09:28 PM

  2. warthog3
    warthog3

    Unfortunately, I do not have root access to my client.

    February 9th, 2016 @ 09:47 PM

  3. vovasty
    vovasty

    you do not need to have root access. Just execute this command from Terminal on your mac.
    It will connect you to your host and produce connection information.

    February 9th, 2016 @ 09:49 PM

  4. warthog3
    warthog3

    This is the output on my computer:

    OpenSSH_6.9p1, LibreSSL 2.1.8
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 21: Applying options for *
    ssh: Could not resolve hostname hostname: nodename nor servname provided, or not known
    Someones-MacBook-Pro:~ someone$

    February 9th, 2016 @ 10:26 PM

  5. vovasty
    vovasty

    ssh -v ******.seedstuff.ca -P 443

    instead of ******.seedstuff.ca use your host name

    February 9th, 2016 @ 10:27 PM

  6. warthog3
    warthog3

    I get this output:

    ssh -v ******.seedstuff.ca -P 443

    OpenSSH_6.9p1, LibreSSL 2.1.8
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 21: Applying options for *
    debug1: Connecting to ******.seedstuff.ca [12.34.56.78] port 22.
    debug1: connect to address 12.34.56.78 port 22: Connection refused
    ssh: connect to host ******.seedstuff.ca port 22: Connection refused

    I changed the IP address of my seedbox host and obscured the hostname.

    I do not understand why it is trying to connect at port 22. Shouldn't it be 443?

    February 9th, 2016 @ 10:36 PM

  7. vovasty
    vovasty

    sorry, my bad: use -p, not -P

    ssh -v ******.seedstuff.ca -p 443

    February 10th, 2016 @ 12:26 AM

  8. warthog3
    warthog3

    Ok, here's the output for that:

    Someones-MacBook-Pro:~ someone$ ssh -v ******.seedstuff.ca -p 443
    OpenSSH_6.9p1, LibreSSL 2.1.8
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 21: Applying options for *
    debug1: Connecting to ******.seedstuff.ca [12.34.56.78] port 443.
    debug1: Connection established.
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/someone/.ssh/id_rsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/someone/.ssh/id_rsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/someone/.ssh/id_dsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/someone/.ssh/id_dsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/someone/.ssh/id_ecdsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/someone/.ssh/id_ecdsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/someone/.ssh/id_ed25519 type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/someone/.ssh/id_ed25519-cert type -1
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_6.9
    ssh_exchange_identification: Connection closed by remote host

    February 10th, 2016 @ 12:52 AM

  9. vovasty
    vovasty

    it seems you unable to connect your server.
    Probably cause of your server does not support password authentication.
    Native currently does not support key based authentication.

    February 10th, 2016 @ 04:54 AM

  10. vovasty
    vovasty
    • State changed from new to hold

    February 10th, 2016 @ 04:54 AM

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.