Screen 1: with server B to normal SSH to the server; 2: hosts. Allow the configured and restart the SSHD, but no effect; 3: check the sshd_config configuration has no problem, 4: di-aping or Telnet server B are normal, requests each great god grant instruction, will,
OpenSSH_7. 9 p1, OpenSSL 1.0.1 e - fips 11 Feb 2013
Debug1: Reading configuration data,/etc/SSH/ssh_config
Debug1: Applying the options for *
Debug1: Connecting to [B] IP address IP address B port 22.
Debug1: Connection established.
Debug1:0/0 permanently_set_uid:
Debug1: identity the file/root/. SSH/identity type 1
Debug1: identity the file/root/. SSH/identity - cert type 1
Debug1: identity the file/root/. SSH/id_rsa type 1
Debug1: identity the file/root/. SSH/id_rsa - cert type 1
Debug1: identity the file/root/. SSH/id_dsa type 1
Debug1: identity the file/root/. SSH/id_dsa - cert type 1
Debug1: identity the file/root/. SSH/id_ecdsa type 1
Debug1: identity the file/root/. SSH/id_ecdsa - cert type 1
Debug1: Remote protocol version 2.0, Remote software version OpenSSH_7. 9
Debug1: match: OpenSSH_7. 9 pat OpenSSH *
Debug1: Enabling compatibility mode for protocol 2.0
Debug1: Local version string SSH - 2.0 - OpenSSH_7. 9
Debug1: SSH2_MSG_KEXINIT sent
Debug1: SSH2_MSG_KEXINIT received
Debug1: kex: server - & gt; The client either aes128 - CTR hmac - sha1 none
Debug1: kex: client - & gt; Server either aes128 - CTR hmac - sha1 none
Debug1: SSH2_MSG_KEX_DH_GEX_REQUEST (1024 & lt; 2048 & lt; 8192) sent
Debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
Debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
Debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
Debug1: the Host 'B' IP address is known and matches the RSA Host key.
Debug1, Found the key in/root/. SSH/known_hosts: 42
Debug1: ssh_rsa_verify: signature correct
Debug1: SSH2_MSG_NEWKEYS sent
Debug1: expecting SSH2_MSG_NEWKEYS
Debug1: SSH2_MSG_NEWKEYS received
Debug1: SSH2_MSG_SERVICE_REQUEST sent
Debug1: SSH2_MSG_SERVICE_ACCEPT received
Debug1: Authentications that can continue: publickey, password
Debug1: Next authentication method: publickey
Debug1: Trying private key:/root/. SSH/identity
Debug1: Offering public key:/root/. SSH/id_rsa
Debug1: Server accepts the key: pkalg SSH - 277
rsa blenDebug1: read PEM private key done: type RSA
Connection closed by IP address B
CodePudding user response:
Look at the logs of the B, specific what reason beCodePudding user response:
Log messages on the server's B output has an error is:Aug 20 12:00:18 TS - NW - S07 SMBD [2855] : [2019/08/20 12:00:18. 199143, 0] printing/print_cups. C: 528 (cups_async_callback)
Aug 20 12:00:18 TS - NW - S07 SMBD [2855] : failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Aug 20 12:13:18 TS - NW - S07 SMBD [88015] : [2019/08/20 12:13:18. 885695, 0] printing/print_cups. C: 151 (cups_connect)
Aug 20 12:13:18 TS - NW - S07 SMBD [88015] : Unable to connect to CUPS server localhost: 631 - Connection refused
The SMB. Conf configuration as follows, is related to the
The load printers=yes
Cups options=raw
; Printcap name=/etc/printcap
# obtain a list of printers automatically on SystemV
; Printcap name=the lpstat
; Printing=cups
CodePudding user response: