permissions on ssh

Solutions on MaxInterview for permissions on ssh by the best coders in the world

showing results for - "permissions on ssh"
Blessing
07 Oct 2017
1
2
3Typically you want the permissions to be:
4
5    .ssh directory: 700 (drwx------)
6    public key (.pub file): 644 (-rw-r--r--)
7    private key (id_rsa): 600 (-rw-------)
8    lastly your home directory should not be writeable by the group or others (at most 755 (drwxr-xr-x)).
9
10I am assuming that you mean that you have to enter your system/user password each time, and that previously you did not have to. cdhowie's response is assuming you set a password/passphrase when generating your keys, and if you did then as he says you will have to enter your password every time unless you use an ssh agent.
11
12