Generate ssh key mac for tunnelblick

broken image
broken image

IdentityFile /Users/tudouya/.ssh/vm/vm_id_rsa.pub

broken image

I write the host infomation to ssh_config: Host ubuntuvm

broken image

I have tried many ways to solve this, change the key file mode, change the folder mode,as some answer on stackoverflow,but it doesn't work.ĭrwxr-xr-x 4 tudouya staff 136 4 29 10:37 vm It is required that your private key files are NOT accessible by others.īad permissions: ignore key: /Users/tudouya/.ssh/vm/vm_id_rsa.pub I generate a ssh key pair on my mac and add the public key to my ubuntu server(in fact, it is a virtual machine on my mac),but when I try to login the ubuntu server,it WARNING: UNPROTECTED PRIVATE KEY FILE! 0644 for '/Users/tudouya/.ssh/vm/vm_id_rsa.pub' are too open.