-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Settings on key file need to be modified with each login. Current error message and on-the-fly solution:
sh -T git@github.com
The authenticity of host 'github.com (140.82.121.4)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0660 for '/home/jovyan/.ssh/id_ed25519' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/jovyan/.ssh/id_ed25519": bad permissions
git@github.com: Permission denied (publickey).
jupyter@jupyterhub-jupyter-muhamhamza123:/FMI-cryo$ chmod 600 /home/jovyan/.ssh/id_ed25519/FMI-cryo$ ls -l /home/jovyan/.ssh/
jupyter@jupyterhub-jupyter-muhamhamza123:
total 12
-rw-------. 1 jupyter 1005750000 444 Jan 22 11:31 id_ed25519
-rw-rw-r--. 1 jupyter 1005750000 82 Jan 22 11:31 id_ed25519.pub
-rw-r--r--. 1 jupyter 1005750000 142 Feb 5 12:31 known_hosts
jupyter@jupyterhub-jupyter-muhamhamza123:/FMI-cryo$ ssh -T git@github.com/FMI-cryo$
Enter passphrase for key '/home/jovyan/.ssh/id_ed25519':
Hi muhamhamza123! You've successfully authenticated, but GitHub does not provide shell access.
jupyter@jupyterhub-jupyter-muhamhamza123: