Hi,
I am using a Hologram SIM card in a MOXA oncell G3150A Gateway. I set up this gateway to allow inbound communications. After running the following command:
ssh -p 999 -L 5000:link{mylink}:22 -N -i spacebridge.key htunnel@tunnel.hologram.io
I open a different terminal and I run
ssh pi@127.0.0.1 -p 5000 -v
I get the following:
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: /etc/ssh/ssh_config line 56: Applying options for *
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 5000.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/manuelgodoy/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/manuelgodoy/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/manuelgodoy/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/manuelgodoy/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/manuelgodoy/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/manuelgodoy/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/manuelgodoy/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/manuelgodoy/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version dropbear_0.53
debug1: no match: dropbear_0.53
debug1: Authenticating to 127.0.0.1:5000 as ‘pi’
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug1: kex: client->server aes128-ctr hmac-sha1 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: ssh-rsa SHA256:1ow0IB4rgGG5+qgNQV+CRXpc1JtklJvETYWaL/7ImrA
debug1: Host ‘[127.0.0.1]:5000’ is known and matches the RSA host key.
debug1: Found key in /Users/manuelgodoy/.ssh/known_hosts:26
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/manuelgodoy/.ssh/id_rsa
debug1: Trying private key: /Users/manuelgodoy/.ssh/id_dsa
debug1: Trying private key: /Users/manuelgodoy/.ssh/id_ecdsa
debug1: Trying private key: /Users/manuelgodoy/.ssh/id_ed25519
debug1: Next authentication method: password
pi@127.0.0.1’s password:
When I type my pi’s password it gives me this error:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
So it looks like I need to give it a publickey. I tried copying and pasting the spacebridge.key.pub but no luck. Same problem would happen if I run the Spacebridge Tunnel Client software. Could you help me solve this?