Topic: NAT SSH issues
Hi,As I took some time to type the original one and this page went to the home one, I am not sure if it was sent properly so I am pasting the original content below:Hi,I created a hostname, installed the client and after it I started having some odd behaviours:- I can connect to all my computers locally using SSH (expected)- Before I could connect to my computers remotely usingssh user@public_ip -p port_number. I use NAT forwarding in my router. Just for the sake of clarity I'll use my windows machine as an example: * private IP: 192.168.1.102 * NAT port: 2102 to 22 (screenshot attached) * public IP: 123.456.789.000 * command: ssh eddie@123.456.789.000 -p 2102Now, apart from one machine, this command does not work anymore. Here is the result when I use verbose mode:ssh -vvv eddie@101.112.87.253 -p 2113OpenSSH_8.3p1 Ubuntu-1, OpenSSL 1.1.1f 31 Mar 2020debug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no filesdebug1: /etc/ssh/ssh_config line 21: Applying options for *debug2: resolve_canonicalize: hostname 101.112.87.253 is addressdebug2: ssh_connect_directdebug1: Connecting to 101.112.87.253 [101.112.87.253] port 2113.debug1: connect to address 101.112.87.253 port 2113: Connection timed outssh: connect to host 101.112.87.253 port 2113: Connection timed outFor the machine that still works:ssh -vvv eddie@101.112.87.253 -p 2109OpenSSH_8.3p1 Ubuntu-1, OpenSSL 1.1.1f 31 Mar 2020debug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no filesdebug1: /etc/ssh/ssh_config line 21: Applying options for *debug2: resolve_canonicalize: hostname 101.112.87.253 is addressdebug2: ssh_connect_directdebug1: Connecting to 101.112.87.253 [101.112.87.253] port 2109.debug1: Connection established.debug1: identity file /home/eddie/.ssh/id_rsa type -1debug1: identity file /home/eddie/.ssh/id_rsa-cert type -1debug1: identity file /home/eddie/.ssh/id_dsa type -1debug1: identity file /home/eddie/.ssh/id_dsa-cert type -1debug1: identity file /home/eddie/.ssh/id_ecdsa type -1debug1: identity file /home/eddie/.ssh/id_ecdsa-cert type -1debug1: identity file /home/eddie/.ssh/id_ecdsa_sk type -1debug1: identity file /home/eddie/.ssh/id_ecdsa_sk-cert type -1debug1: identity file /home/eddie/.ssh/id_ed25519 type -1debug1: identity file /home/eddie/.ssh/id_ed25519-cert type -1debug1: identity file /home/eddie/.ssh/id_ed25519_sk type -1debug1: identity file /home/eddie/.ssh/id_ed25519_sk-cert type -1debug1: identity file /home/eddie/.ssh/id_xmss type -1debug1: identity file /home/eddie/.ssh/id_xmss-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.3p1 Ubuntu-1debug1: Remote protocol version 2.0, remote software version OpenSSH_8.4debug1: match: OpenSSH_8.4 pat OpenSSH* compat 0x04000000debug2: fd 3 setting O_NONBLOCKdebug1: Authenticating to 101.112.87.253:2109 as 'eddie'debug3: put_host_port: [101.112.87.253]:2109debug3: hostkeys_foreach: reading file "/home/eddie/.ssh/known_hosts"debug3: record_hostkey: found key type RSA in file /home/eddie/.ssh/known_hosts:5debug3: load_hostkeys: loaded 1 keys from [101.112.87.253]:2109debug3: order_hostkeyalgs: prefer hostkeyalgs: rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsadebug3: send packet: type 20debug1: SSH2_MSG_KEXINIT sentdebug3: receive packet: type 20debug1: SSH2_MSG_KEXINIT receiveddebug2: local client KEXINIT proposaldebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-cdebug2: host key algorithms: rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.comdebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: compression ctos: none,zlib@openssh.com,zlibdebug2: compression stoc: none,zlib@openssh.com,zlibdebug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposaldebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsadebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: compression ctos: none,zlib@openssh.comdebug2: compression stoc: none,zlib@openssh.comdebug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256debug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug3: send packet: type 30debug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug3: receive packet: type 31debug1: Server host key: ssh-rsa SHA256:dFDt9/9dAObHG1kf3qM5fvs+F27k6azE1LTFBL+to2Ydebug3: put_host_port: [101.112.87.253]:2109debug3: put_host_port: [101.112.87.253]:2109debug3: hostkeys_foreach: reading file "/home/eddie/.ssh/known_hosts"debug3: record_hostkey: found key type RSA in file /home/eddie/.ssh/known_hosts:5debug3: load_hostkeys: loaded 1 keys from [101.112.87.253]:2109debug3: hostkeys_foreach: reading file "/home/eddie/.ssh/known_hosts"debug3: record_hostkey: found key type RSA in file /home/eddie/.ssh/known_hosts:5debug3: load_hostkeys: loaded 1 keys from [101.112.87.253]:2109debug1: Host '[101.112.87.253]:2109' is known and matches the RSA host key.debug1: Found key in /home/eddie/.ssh/known_hosts:5debug3: send packet: type 21debug2: set_newkeys: mode 1debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug3: receive packet: type 21debug1: SSH2_MSG_NEWKEYS receiveddebug2: set_newkeys: mode 0debug1: rekey in after 134217728 blocksdebug1: Will attempt key: /home/eddie/.ssh/id_rsa debug1: Will attempt key: /home/eddie/.ssh/id_dsa debug1: Will attempt key: /home/eddie/.ssh/id_ecdsa debug1: Will attempt key: /home/eddie/.ssh/id_ecdsa_sk debug1: Will attempt key: /home/eddie/.ssh/id_ed25519 debug1: Will attempt key: /home/eddie/.ssh/id_ed25519_sk debug1: Will attempt key: /home/eddie/.ssh/id_xmss debug2: pubkey_prepare: donedebug3: send packet: type 5debug3: receive packet: type 7debug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com>debug3: receive packet: type 6debug2: service_accept: ssh-userauthdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug3: send packet: type 50debug3: receive packet: type 51debug1: Authentications that can continue: publickey,password,keyboard-interactivedebug3: start over, passed a different list publickey,password,keyboard-interactivedebug3: preferred gssapi-with-mic,publickey,keyboard-interactive,passworddebug3: authmethod_lookup publickeydebug3: remaining preferred: keyboard-interactive,passworddebug3: authmethod_is_enabled publickeydebug1: Next authentication method: publickeydebug1: Trying private key: /home/eddie/.ssh/id_rsadebug3: no such identity: /home/eddie/.ssh/id_rsa: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_dsadebug3: no such identity: /home/eddie/.ssh/id_dsa: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_ecdsadebug3: no such identity: /home/eddie/.ssh/id_ecdsa: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_ecdsa_skdebug3: no such identity: /home/eddie/.ssh/id_ecdsa_sk: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_ed25519debug3: no such identity: /home/eddie/.ssh/id_ed25519: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_ed25519_skdebug3: no such identity: /home/eddie/.ssh/id_ed25519_sk: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_xmssdebug3: no such identity: /home/eddie/.ssh/id_xmss: No such file or directorydebug2: we did not send a packet, disable methoddebug3: authmethod_lookup keyboard-interactivedebug3: remaining preferred: passworddebug3: authmethod_is_enabled keyboard-interactivedebug1: Next authentication method: keyboard-interactivedebug2: userauth_kbdintdebug3: send packet: type 50debug2: we sent a keyboard-interactive packet, wait for replydebug3: receive packet: type 51debug1: Authentications that can continue: publickey,password,keyboard-interactivedebug3: userauth_kbdint: disable: no info_req_seendebug2: we did not send a packet, disable methoddebug3: authmethod_lookup passworddebug3: remaining preferred: debug3: authmethod_is_enabled passworddebug1: Next authentication method: passwordeddie@101.112.87.253's password: debug3: send packet: type 50debug2: we sent a password packet, wait for replydebug3: receive packet: type 52debug1: Authentication succeeded (password).Authenticated to 101.112.87.253 ([101.112.87.253]:2109).debug1: channel 0: new [client-session]debug3: ssh_session2_open: channel_new: 0debug2: channel 0: send opendebug3: send packet: type 90debug1: Requesting no-more-sessions@openssh.comdebug3: send packet: type 80debug1: Entering interactive session.debug1: pledge: networkdebug3: receive packet: type 80debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0debug3: receive packet: type 91debug2: channel_input_open_confirmation: channel 0: callback startdebug2: fd 3 setting TCP_NODELAYdebug3: ssh_packet_set_tos: set IP_TOS 0x10debug2: client_session2_setup: id 0debug2: channel 0: request pty-req confirm 1debug3: send packet: type 98debug1: Sending environment.debug3: Ignored env COLORFGBGdebug3: Ignored env COLORTERMdebug3: Ignored env DBUS_SESSION_BUS_ADDRESSdebug3: Ignored env DEFAULTS_PATHdebug3: Ignored env DESKTOP_SESSIONdebug3: Ignored env DISPLAYdebug3: Ignored env GPG_AGENT_INFOdebug3: Ignored env GTK2_RC_FILESdebug3: Ignored env GTK_RC_FILESdebug3: Ignored env HOMEdebug3: Ignored env KDE_APPLICATIONS_AS_SCOPEdebug3: Ignored env KDE_FULL_SESSIONdebug3: Ignored env KDE_SESSION_UIDdebug3: Ignored env KDE_SESSION_VERSIONdebug3: Ignored env KONSOLE_DBUS_SERVICEdebug3: Ignored env KONSOLE_DBUS_SESSIONdebug3: Ignored env KONSOLE_VERSIONdebug1: Sending env LANG = en_AU.UTF-8debug2: channel 0: request env confirm 0debug3: send packet: type 98debug3: Ignored env LANGUAGEdebug3: Ignored env LOGNAME
Reply with quote | Report
An update: It seems like I made a mistake when I said one machine could be connected. Actually, that machine was being connected when my phone was being a hotspot for the client. So my situation is the following:- I can connect the server using its private IP if I am in the same network (expected)- I can connect the server using its public IP and NAT forwarding if am out of its network (expected)- I can't connect the server using its private IP if am out of its network (expected)- I can't connect the server using its public IP and NAT forwarding if I am in the same network (unexpected and undesirable)Thanks,Eduardo
Reply with quote | Report
Guys,I made a post on Solus forum providing more information. Here is the link:https://discuss.getsol.us/d/6208-ddnssamba-issuesddclient-updateThanks,Eduardo
Reply with quote | Report
Author | Topic: NAT SSH issues |
---|---|
ebiscaia Joined: 1/15/2021 |
NAT SSH issues Saturday, January 16, 2021 2:35 PM
Hi,As I took some time to type the original one and this page went to the home one, I am not sure if it was sent properly so I am pasting the original content below:Hi,I created a hostname, installed the client and after it I started having some odd behaviours:- I can connect to all my computers locally using SSH (expected)- Before I could connect to my computers remotely usingssh user@public_ip -p port_number. I use NAT forwarding in my router. Just for the sake of clarity I'll use my windows machine as an example: * private IP: 192.168.1.102 * NAT port: 2102 to 22 (screenshot attached) * public IP: 123.456.789.000 * command: ssh eddie@123.456.789.000 -p 2102Now, apart from one machine, this command does not work anymore. Here is the result when I use verbose mode:ssh -vvv eddie@101.112.87.253 -p 2113OpenSSH_8.3p1 Ubuntu-1, OpenSSL 1.1.1f 31 Mar 2020debug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no filesdebug1: /etc/ssh/ssh_config line 21: Applying options for *debug2: resolve_canonicalize: hostname 101.112.87.253 is addressdebug2: ssh_connect_directdebug1: Connecting to 101.112.87.253 [101.112.87.253] port 2113.debug1: connect to address 101.112.87.253 port 2113: Connection timed outssh: connect to host 101.112.87.253 port 2113: Connection timed outFor the machine that still works:ssh -vvv eddie@101.112.87.253 -p 2109OpenSSH_8.3p1 Ubuntu-1, OpenSSL 1.1.1f 31 Mar 2020debug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no filesdebug1: /etc/ssh/ssh_config line 21: Applying options for *debug2: resolve_canonicalize: hostname 101.112.87.253 is addressdebug2: ssh_connect_directdebug1: Connecting to 101.112.87.253 [101.112.87.253] port 2109.debug1: Connection established.debug1: identity file /home/eddie/.ssh/id_rsa type -1debug1: identity file /home/eddie/.ssh/id_rsa-cert type -1debug1: identity file /home/eddie/.ssh/id_dsa type -1debug1: identity file /home/eddie/.ssh/id_dsa-cert type -1debug1: identity file /home/eddie/.ssh/id_ecdsa type -1debug1: identity file /home/eddie/.ssh/id_ecdsa-cert type -1debug1: identity file /home/eddie/.ssh/id_ecdsa_sk type -1debug1: identity file /home/eddie/.ssh/id_ecdsa_sk-cert type -1debug1: identity file /home/eddie/.ssh/id_ed25519 type -1debug1: identity file /home/eddie/.ssh/id_ed25519-cert type -1debug1: identity file /home/eddie/.ssh/id_ed25519_sk type -1debug1: identity file /home/eddie/.ssh/id_ed25519_sk-cert type -1debug1: identity file /home/eddie/.ssh/id_xmss type -1debug1: identity file /home/eddie/.ssh/id_xmss-cert type -1debug1: Local version string SSH-2.0-OpenSSH_8.3p1 Ubuntu-1debug1: Remote protocol version 2.0, remote software version OpenSSH_8.4debug1: match: OpenSSH_8.4 pat OpenSSH* compat 0x04000000debug2: fd 3 setting O_NONBLOCKdebug1: Authenticating to 101.112.87.253:2109 as 'eddie'debug3: put_host_port: [101.112.87.253]:2109debug3: hostkeys_foreach: reading file "/home/eddie/.ssh/known_hosts"debug3: record_hostkey: found key type RSA in file /home/eddie/.ssh/known_hosts:5debug3: load_hostkeys: loaded 1 keys from [101.112.87.253]:2109debug3: order_hostkeyalgs: prefer hostkeyalgs: rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsadebug3: send packet: type 20debug1: SSH2_MSG_KEXINIT sentdebug3: receive packet: type 20debug1: SSH2_MSG_KEXINIT receiveddebug2: local client KEXINIT proposaldebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-cdebug2: host key algorithms: rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.comdebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: compression ctos: none,zlib@openssh.com,zlibdebug2: compression stoc: none,zlib@openssh.com,zlibdebug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposaldebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsadebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: compression ctos: none,zlib@openssh.comdebug2: compression stoc: none,zlib@openssh.comdebug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256debug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug3: send packet: type 30debug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug3: receive packet: type 31debug1: Server host key: ssh-rsa SHA256:dFDt9/9dAObHG1kf3qM5fvs+F27k6azE1LTFBL+to2Ydebug3: put_host_port: [101.112.87.253]:2109debug3: put_host_port: [101.112.87.253]:2109debug3: hostkeys_foreach: reading file "/home/eddie/.ssh/known_hosts"debug3: record_hostkey: found key type RSA in file /home/eddie/.ssh/known_hosts:5debug3: load_hostkeys: loaded 1 keys from [101.112.87.253]:2109debug3: hostkeys_foreach: reading file "/home/eddie/.ssh/known_hosts"debug3: record_hostkey: found key type RSA in file /home/eddie/.ssh/known_hosts:5debug3: load_hostkeys: loaded 1 keys from [101.112.87.253]:2109debug1: Host '[101.112.87.253]:2109' is known and matches the RSA host key.debug1: Found key in /home/eddie/.ssh/known_hosts:5debug3: send packet: type 21debug2: set_newkeys: mode 1debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug3: receive packet: type 21debug1: SSH2_MSG_NEWKEYS receiveddebug2: set_newkeys: mode 0debug1: rekey in after 134217728 blocksdebug1: Will attempt key: /home/eddie/.ssh/id_rsa debug1: Will attempt key: /home/eddie/.ssh/id_dsa debug1: Will attempt key: /home/eddie/.ssh/id_ecdsa debug1: Will attempt key: /home/eddie/.ssh/id_ecdsa_sk debug1: Will attempt key: /home/eddie/.ssh/id_ed25519 debug1: Will attempt key: /home/eddie/.ssh/id_ed25519_sk debug1: Will attempt key: /home/eddie/.ssh/id_xmss debug2: pubkey_prepare: donedebug3: send packet: type 5debug3: receive packet: type 7debug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com>debug3: receive packet: type 6debug2: service_accept: ssh-userauthdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug3: send packet: type 50debug3: receive packet: type 51debug1: Authentications that can continue: publickey,password,keyboard-interactivedebug3: start over, passed a different list publickey,password,keyboard-interactivedebug3: preferred gssapi-with-mic,publickey,keyboard-interactive,passworddebug3: authmethod_lookup publickeydebug3: remaining preferred: keyboard-interactive,passworddebug3: authmethod_is_enabled publickeydebug1: Next authentication method: publickeydebug1: Trying private key: /home/eddie/.ssh/id_rsadebug3: no such identity: /home/eddie/.ssh/id_rsa: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_dsadebug3: no such identity: /home/eddie/.ssh/id_dsa: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_ecdsadebug3: no such identity: /home/eddie/.ssh/id_ecdsa: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_ecdsa_skdebug3: no such identity: /home/eddie/.ssh/id_ecdsa_sk: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_ed25519debug3: no such identity: /home/eddie/.ssh/id_ed25519: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_ed25519_skdebug3: no such identity: /home/eddie/.ssh/id_ed25519_sk: No such file or directorydebug1: Trying private key: /home/eddie/.ssh/id_xmssdebug3: no such identity: /home/eddie/.ssh/id_xmss: No such file or directorydebug2: we did not send a packet, disable methoddebug3: authmethod_lookup keyboard-interactivedebug3: remaining preferred: passworddebug3: authmethod_is_enabled keyboard-interactivedebug1: Next authentication method: keyboard-interactivedebug2: userauth_kbdintdebug3: send packet: type 50debug2: we sent a keyboard-interactive packet, wait for replydebug3: receive packet: type 51debug1: Authentications that can continue: publickey,password,keyboard-interactivedebug3: userauth_kbdint: disable: no info_req_seendebug2: we did not send a packet, disable methoddebug3: authmethod_lookup passworddebug3: remaining preferred: debug3: authmethod_is_enabled passworddebug1: Next authentication method: passwordeddie@101.112.87.253's password: debug3: send packet: type 50debug2: we sent a password packet, wait for replydebug3: receive packet: type 52debug1: Authentication succeeded (password).Authenticated to 101.112.87.253 ([101.112.87.253]:2109).debug1: channel 0: new [client-session]debug3: ssh_session2_open: channel_new: 0debug2: channel 0: send opendebug3: send packet: type 90debug1: Requesting no-more-sessions@openssh.comdebug3: send packet: type 80debug1: Entering interactive session.debug1: pledge: networkdebug3: receive packet: type 80debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0debug3: receive packet: type 91debug2: channel_input_open_confirmation: channel 0: callback startdebug2: fd 3 setting TCP_NODELAYdebug3: ssh_packet_set_tos: set IP_TOS 0x10debug2: client_session2_setup: id 0debug2: channel 0: request pty-req confirm 1debug3: send packet: type 98debug1: Sending environment.debug3: Ignored env COLORFGBGdebug3: Ignored env COLORTERMdebug3: Ignored env DBUS_SESSION_BUS_ADDRESSdebug3: Ignored env DEFAULTS_PATHdebug3: Ignored env DESKTOP_SESSIONdebug3: Ignored env DISPLAYdebug3: Ignored env GPG_AGENT_INFOdebug3: Ignored env GTK2_RC_FILESdebug3: Ignored env GTK_RC_FILESdebug3: Ignored env HOMEdebug3: Ignored env KDE_APPLICATIONS_AS_SCOPEdebug3: Ignored env KDE_FULL_SESSIONdebug3: Ignored env KDE_SESSION_UIDdebug3: Ignored env KDE_SESSION_VERSIONdebug3: Ignored env KONSOLE_DBUS_SERVICEdebug3: Ignored env KONSOLE_DBUS_SESSIONdebug3: Ignored env KONSOLE_VERSIONdebug1: Sending env LANG = en_AU.UTF-8debug2: channel 0: request env confirm 0debug3: send packet: type 98debug3: Ignored env LANGUAGEdebug3: Ignored env LOGNAME
|
ebiscaia Joined: 1/15/2021 |
NAT SSH issues Tuesday, January 19, 2021 10:06 PM
An update: It seems like I made a mistake when I said one machine could be connected. Actually, that machine was being connected when my phone was being a hotspot for the client. So my situation is the following:- I can connect the server using its private IP if I am in the same network (expected)- I can connect the server using its public IP and NAT forwarding if am out of its network (expected)- I can't connect the server using its private IP if am out of its network (expected)- I can't connect the server using its public IP and NAT forwarding if I am in the same network (unexpected and undesirable)Thanks,Eduardo
|
ebiscaia Joined: 1/15/2021 |
NAT SSH issues Friday, January 29, 2021 2:46 PM
Guys,I made a post on Solus forum providing more information. Here is the link:https://discuss.getsol.us/d/6208-ddnssamba-issuesddclient-updateThanks,Eduardo
|
It is currently Thursday, December 26, 2024 4:10 AM US Mountain Standard Time
Thursday, December 26, 2024 4:10 AM