D
D
DVoropaev2019-02-16 13:04:28
linux
DVoropaev, 2019-02-16 13:04:28

How to disable encryption in SSH?

I read in the SSH protocol specification that there is such an encryption option "none", which disables traffic encryption.
I want to examine the internals of the SSH protocol by enabling the "none" option and inspecting the packets in Wireshark in the clear. How to disable encryption in OpenSSH?
my version by:

OpenSSH_7.6p1 Ubuntu-4ubuntu0.2, OpenSSL 1.0.2n  7 Dec 2017

Google suggested that you can add none to the Ciphers line in the /etc/ssh/sshd_config file:
Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr,none

But I don’t have such a line at all, and after adding ssh, it stopped starting
. Another source suggested that encryption cannot be disabled in OpenSSH.
What is the easiest way to use SSH without encryption?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitsliputsli, 2019-02-16
@DVoropaev

You can check which encryption is supported like this: ssh -Q cipher.
If "none" is not present, then recompile ssh with support.
Still, the first S in ssh is security, so as a rule they are collected without "none".

A
Alexey Cheremisin, 2019-02-16
@leahch

The simplest and fastest arcfour, but it needs to be written on both sides.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question