$ ssh -X physics@station Unable to negotiate with 192.168.0.2 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
と出るときは ~/.ssh/config
に
Host station HostName 192.168.0.2 User physics KexAlgorithms diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
と書く。ちなみに接続元のSSHのバージョン
$ ssh -V OpenSSH_8.2p1 Ubuntu-4ubuntu0.4, OpenSSL 1.1.1f 31 Mar 2020