SSH key question
Sarunas Burdulis
sarunas at math.dartmouth.edu
Thu Dec 10 22:37:46 UTC 2020
On 12/10/20 2:55 PM, MR ZenWiz wrote:
> On Thu, Dec 10, 2020 at 10:39 AM Sarunas Burdulis
> <sarunas at math.dartmouth.edu> wrote:
>>
> :
>>
>> I don't know what the problem may be, but increased verbosity of SSH
>> connenction may shed some light.
>>
>> ssh -vv ...
>>
> Here's what I see (from laptop marHP8740 to desktop marbase):
>
> 11:50 [admar at marHP8740w:~] $ ssh -vv $BASE
> OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f 31 Mar 2020
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: include
> /etc/ssh/ssh_config.d/*.conf matched no files
> debug1: /etc/ssh/ssh_config line 21: Applying options for *
> debug2: resolve_canonicalize: hostname 192.168.1.131 is address
> debug2: ssh_connect_direct
> debug1: Connecting to 192.168.1.131 [192.168.1.131] port 22.
> debug1: Connection established.
> ... ... ...
> debug1: Will attempt key: /home/admar/.ssh/id_rsa RSA
> SHA256:6ipcSUwJHMccKD1XhUx8I1TSVgLbpyBc2INdxzYzJy0
> debug1: Will attempt key: /home/admar/.ssh/id_dsa
> debug1: Will attempt key: /home/admar/.ssh/id_ecdsa
> debug1: Will attempt key: /home/admar/.ssh/id_ecdsa_sk
> debug1: Will attempt key: /home/admar/.ssh/id_ed25519
> debug1: Will attempt key: /home/admar/.ssh/id_ed25519_sk
> debug1: Will attempt key: /home/admar/.ssh/id_xmss
> debug2: pubkey_prepare: done
> debug1: SSH2_MSG_EXT_INFO received
> debug1: kex_input_ext_info:
> server-sig-algs=<ssh-ed25519,sk-ssh-ed25519 at openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256 at openssh.com>
> debug2: service_accept: ssh-userauth
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug1: Authentications that can continue: publickey,password
> debug1: Next authentication method: publickey
> debug1: Offering public key: /home/admar/.ssh/id_rsa RSA
> SHA256:6ipcSUwJHMccKD1XhUx8I1TSVgLbpyBc2INdxzYzJy0
> debug2: we sent a publickey packet, wait for reply
After the above step, on success, one should see:
debug1: Server accepts key: /home/admar/.ssh/id_rsa RSA
SHA256:6ipcSUwJHMccKD1XhUx8I1TSVgLbpyBc2INdxzYzJy0
debug1: Authentication succeeded (publickey).
Authenticated to ...
auth.log and syslog on your $BASE may have some clues.
--
Sarunas Burdulis
Systems Administrator, Dartmouth College Mathematics
https://math.dartmouth.edu/~sarunas
· https://useplaintext.email ·
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20201210/6f52d51d/attachment.sig>
More information about the ubuntu-users
mailing list