Look for the line NO_START and replace with what’s below, once you have done that just hit ‘ctrl + x’ to exit and answer ‘y’ to saving the file (if you used nano that is): NO_START=0 Now we need to do some very basic configuration to dropbear, so open up the configuration file in a text editor.
Please make sure you have a stable internet connection before doing this, I generally stay away from WiFi just encase your connection drop’s after the un-install.įirst we will just install dropbear using apt-get, there is no point in installing it from source: sudo apt-get install dropbear
Removing SSH software from your system obviously comes with some risks, the biggest been that your probably connected over SSH to perform this change, this guide is designed so that you should be able to keep access to the server and safely install/remove the software. I have done this on the 128MB RAM web server that’s running this blog, click here to read more about that setup. On systems with memory constraints replacing OpenSSH and installing drop-bear will actually save you a few MB of RAM. Та же ошибка ssh_exchange_identification ".OpenSSH is used on the majority of linux systems that require SSH access, however in comparison to some of the alternatives it can be quite resource intensive, it does also have some more features however most people are not even aware of these and have just installed it because of the convince. Ssh_exchange_identification: read: Connection reset by peer Timed out while waiting for the machine to boot. => default: Running 'pre-boot' VM customizations. Бродячий до => default: Preparing network interfaces based on configuration.ĭefault: 22 (guest) => 2222 (host) (adapter 1) Vagrantfile config.vm.network "public_network"Ĭonfig.vm.network "private_network", ip: "192.168.1.1"
Вывод из ssh -vvv -o PreferredAuthentications=password -o PubkeyAuthentication=no ниже: $ ssh -vvv -o PreferredAuthentications=password -o PubkeyAuthentication=noĭebug1: Reading configuration data /home/Chloe/.ssh/configĭebug1: Reading configuration data /etc/ssh_configĭebug1: Connecting to 192.168.1.1 port 22.ĭebug1: identity file /home/Chloe/.ssh/id_rsa type 0ĭebug1: key_load_public: No such file or directoryĭebug1: identity file /home/Chloe/.ssh/id_rsa-cert type -1ĭebug1: identity file /home/Chloe/.ssh/id_dsa type 1ĭebug1: identity file /home/Chloe/.ssh/id_dsa-cert type -1ĭebug1: identity file /home/Chloe/.ssh/id_ecdsa type -1ĭebug1: identity file /home/Chloe/.ssh/id_ecdsa-cert type -1ĭebug1: identity file /home/Chloe/.ssh/id_ed25519 type -1ĭebug1: identity file /home/Chloe/.ssh/id_ed25519-cert type -1ĭebug1: Local version string SSH-2.0-OpenSSH_7.6ĭebug1: Remote protocol version 2.0, remote software version OpenSSH_7.6ĭebug1: match: OpenSSH_7.6 pat OpenSSH* compat 0x04000000ĭebug1: Authenticating to 192.168.1.1:22 as 'root'ĭebug3: hostkeys_foreach: reading file "/home/Chloe/.ssh/known_hosts"ĭebug3: record_hostkey: found key type ECDSA in file /home/Chloe/.ssh/known_hosts:69ĭebug3: load_hostkeys: loaded 1 keys from 192.168.1.1ĭebug3: order_hostkeyalgs: prefer hostkeyalgs: send packet: type 20ĭebug2: KEX algorithms: host key algorithms: ciphers ctos: ciphers stoc: MACs ctos: MACs stoc: compression ctos: compression stoc: languages ctos:ĭebug2: KEX algorithms: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1ĭebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519ĭebug2: ciphers ctos: ciphers stoc: MACs ctos: MACs stoc: compression ctos: compression stoc: languages ctos:ĭebug1: kex: algorithm: diffie-hellman-group-exchange-sha1ĭebug1: kex: host key algorithm: ecdsa-sha2-nistp256ĭebug1: kex: server->client cipher: MAC: compression: noneĭebug1: kex: client->server cipher: MAC: compression: noneĭebug1: Authentications that can continue: publickey,password,keyboard-interactiveĭebug3: start over, passed a different list publickey,password,keyboard-interactiveĭebug1: Next authentication method: password:ĭebug2: we sent a password packet, wait for reply