خرید بک لینک

Hello,

I am experiencing issues coecting to ssh under certain conditions.

If the client is physically plugged into the same LAN as the ssh server (not on VPN), no issues. Coection is instant.

If the client is not on the LAN but is VPN'd in, here are the results:

Code:

# ssh [email protected] -v
OpenSSH_7.2p2 Ubuntu-4ubuntu1, OpenSSL 1.0.2g-fips  1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Coecting to 192.168.1.182 [192.168.1.182] port 22.
debug1: Coection established.
### (a bunch of identity lines here)
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu1
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.1.182:22 as '<my account name here>'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: [email protected]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
### --> (big delay here: > 1min)
Coection closed by 192.168.1.182 port 22
Some points:
  • The ssh server I am trying to coect to is the same server that hosts the OpenVPN server.
  • Please note that everything above (the -v on ssh) is how it appears when coecting while plugged directly into the LAN except that it finishes immediately AND successfully.
  • While VPN'd in, ping works to this server instantly and without any issues.
  • There are other "IoT's" on this LAN (part of the 192.168.1.0/24 subnet) that I can access without any issues: no communication issues, no delays while coected via VPN from outside.

Thanks for your help.

برچسب: نویسنده: استخدام کار تاريخ: شنبه 29 خرداد 1395 ساعت: 21:08

صفحه بندی