GNU/Linux >> Linux の 問題 >  >> Linux

Ssh – FirefoxがSshよりも遅いのはなぜですか?

を使用してSSH経由でFirefoxを起動しようとしています
ssh -X [email protected]

そして

firefox -no-remote

でもとても遅いです。

どうすればこれを修正できますか?接続に問題がありますか?

承認された回答:

デフォルトのssh設定では、接続がかなり遅くなります。代わりに次を試してください:

ssh -YC4c arcfour,blowfish-cbc [email protected] firefox -no-remote

使用されるオプションは次のとおりです。

-Y      Enables trusted X11 forwarding.  Trusted X11 forwardings are not
         subjected to the X11 SECURITY extension controls.
 -C      Requests compression of all data (including stdin, stdout,
         stderr, and data for forwarded X11 and TCP connections).  The
         compression algorithm is the same used by gzip(1), and the
         “level” can be controlled by the CompressionLevel option for pro‐
         tocol version 1.  Compression is desirable on modem lines and
         other slow connections, but will only slow down things on fast
         networks.  The default value can be set on a host-by-host basis
         in the configuration files; see the Compression option.
 -4      Forces ssh to use IPv4 addresses only.
 -c cipher_spec
         Selects the cipher specification for encrypting the session.

         For protocol version 2, cipher_spec is a comma-separated list of
         ciphers listed in order of preference.  See the Ciphers keyword
         in ssh_config(5) for more information.

ここでの主なポイントは、別の暗号化暗号(この場合はデフォルトよりも高速なarcfour)を使用し、転送されるデータを圧縮することです。

注:私はこれに関する専門家からは非常に遠いです。上記のコマンドは、どこかのブログ投稿で見つけた後に使用するものであり、速度が大幅に向上していることに気づきました。以下のさまざまなコメント投稿者は、彼らが何について話しているのかを知っており、これらの暗号化サイファーは最良のものではない可能性があると確信しています。この回答のうち、本当に関連性があるのは、-Cを使用することだけである可能性が非常に高いです。 転送中のデータを圧縮するように切り替えます。


Linux
  1. OpenStackでWindows10VMが遅いのはなぜですか?

  2. Ssh – Ssh / scp / sftpユーザーをディレクトリに制限しますか?

  3. Ssh – Sshを介してStdoutをリダイレクトしますか?

  1. Ssh – Sshを介した別のマシンを介したトンネルトラフィック?

  2. ssh 経由でディレクトリを比較する方法

  3. SSH ログインが遅いのはなぜですか?

  1. Sshを介したコマンドでTrueを使用しますか?

  2. ソックスではなく、ssh 経由の http プロキシ

  3. sudoedit:なぜ sudo vi で使用するのですか?