Term Cannot SSH to Server

Asked 2 years ago, Updated 2 years ago, 121 views

Term cannot connect to the server.

I have two IP addresses, and one is fine.
I can't put it in if I create a new one.
The exact same procedure is used to change only the IP address.

You are logged in with your username and private key.

The log reads Did not receive identification string from to .
The one you originally owned will only pass with the above private key, but the new one will prompt you to enter the passphrase even though you have typed the private key.

SSH2 is selected, but it does not pass.How can I change the settings to improve it?

Additional
·Sorry for the lack of knowledge, but the ssh-vvv command does not work.I looked it up, but I couldn't get to the other commands that show the connection log, so I couldn't check it.Please let me know if there is any other way.
Also, is it possible to check the connection log of the one that cannot be connected without being able to connect?
·I have confirmed sshd_config.Here's what I checked, but if you have any personal information, please let me know.

#$OpenBSD: sshd_config, v1.93 2014/■■~~~djm Exp$

# This is the sshd server system-wide configuration file.See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/local/bin:/usr/bin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
# default value.

# If you want to change the port on a SELinux system, you have to tell
# SELinux about this change.
# semanage port-a-tssh_port_t-ptcp#PORTNUMBER
#
# Port 22
# AddressFamily any
# ListenAddress 0.0.0.0
# ListenAddress::

# The default requirements explicit activation of protocol1
# Protocol 2

# HostKey for protocol version 1
# HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
# HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key

# Lifetime and size of ephemeral version 1 server key
# KeyRegenerationInterval 1h
# ServerKeyBits 1024

·How do you decide whether it is OpenSSH or something else?
·I'm sorry it's rudimentary, but how do I update it?When I checked, I couldn't find any updates, and I could only find a way to uninstall and re-install the latest version.I have a lot of data including working directories and cloning of tasks, so I would like to update it without uninstalling it as much as possible.
·About updates
Update Can't I update from here?If I download the latest one from the official website, will there be two existing ones and the new ones?

ssh teraterm

2022-09-30 21:39

1 Answers

The [SSH]Did not receive identification string from Volume explains how to resolve a discrepancy between the protocol version allowed by sshd and the protocol version used by the SSH client.

The protocol version difference is one of the reasons for logging Did not receive identification string from , so why don't you check the article?


2022-09-30 21:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.