[email protected]: Permission denied (publickey).fatal: Could not read from remote repository.

 新创建本地厂库上传到github厂库遇到的小问题

nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$ git push -u origin main
The authenticity of host 'github.com (20.205.243.166)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,20.205.243.166' (ECDSA) to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$ git push -u origin main
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$ ssh [email protected]
[email protected]: Permission denied (publickey).
nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$ ssh-keygen -t rsa -C "你的github注册邮箱"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/nvidia/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/nvidia/.ssh/id_rsa.
Your public key has been saved in /home/nvidia/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:7RJR+fOlLwP+xlbbpkRFNMrhsTqc2a0owhZczdR7Vhg 你的github注册邮箱
The key's randomart image is:
+---[RSA 2048]----+
|          .o.oE=o|
|         .= o.*.o|
|        .. + =. o|
|      . .o. B..+.|
|       oS .* +++ |
|      . .o  +.+ .|
|       +...o +.oo|
|      . ... ..*.+|
|             +o= |
+----[SHA256]-----+
nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$ cat /home/nvidia/.ssh/
id_rsa       id_rsa.pub   known_hosts
nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$ cat /home/nvidia/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFRJEwmhxYoQ0lmJDrlVUmNvq0GivaPNxsXLJlJ5h+2tJ+G+g8AUvysWea+AjURwgLjJkwX/DFEliW4BIII9MFw/pj8qFc7qxdxZ8Wq6mQmP1aVd09emYzt2h0bxpFpdF2EXpv8w9PpOGksz9SpdVRm/twqm/mIPPqn/V6xKwLRdYPKMHIcpEnDwgM71dBfBAIdjK8FOojIKch5qYEmodXCpv0tkiH/7cmr8e1M0vUtuKC0ADVA6kwdgQ6zckBXk27EL4BC2dOO9GGxTHjJhhMEWynd1Fl09Fv8b+NbW5sH4UsEllr9rz5yDqfzTn+nR3hWOUwfhGEWVVg7e0Lore9 你的github注册邮箱
nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$ ssh [email protected]
PTY allocation request failed on channel 0
Hi Unlicensed-driver-ljx! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$ git push -u origin main
Counting objects: 3, done.
Writing objects: 100% (3/3), 255 bytes | 255.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To github.com:Unlicensed-driver-ljx/opencv_contrib_essential_module.git
 * [new branch]      main -> main
Branch 'main' set up to track remote branch 'main' from 'origin'.
nvidia@nvidia-desktop:~/Nano/opencv_contrib_essential_module$

你可能感兴趣的:(nvidia,jetson_nx,git,github)