This is procedure that I use:  $ cd .sshbash: cd: .ssh: No such file or directory$ ssh-keygenGenerating public/private rsa key pair.Enter file in which to save the key (/home/user/.ssh/id_rsa):- ENTER -Enter passphrase (empty for no passphrase):- ENTER -Enter same passphrase again:- ENTER -Your identification has been saved in /home/user/.ssh/id_rsa.Your public key has been saved in /home/user/.ssh/id_rsa.pub.The key fingerprint is:SHA256: hugecode user@userThe key's randomart image is:lots of characters$ cd .ssh$ sudo nano configHost user IP addr  HostName IP addr  User user  PreferredAuthentications publickey  IdentfyFile /home/user/.ssh/id_rsaHost server IP  HostName IP  User server  Port no.of port- Close config -$ ssh server/home/user/.ssh/config: line 5: Bad configuration option: identfyfile/home/user/.ssh/config: terminating, 1 bad configuration optionsI would appriciate if somebody can help me find a solution for this!
Connecting from local computer to server - ssh
ssh;key authentication;ssh keygen
You misspelled IdentityFile :/home/user/.ssh/config: line 5: Bad configuration option: identfyfile