authorized-keys

Adding public key to ~/.ssh/authorized_keys does not log me in automatically

霸气de小男生 提交于 2019-11-27 16:33:33
I added the public ssh key to the authorized_keys file. ssh localhost should log me in without asking for the password. I did that and tried typing ssh localhost , but it still asks me to type in the password. Is there any other setting that I have to go through to make it work? I have followed instruction for changing permissions: Below is the result if I do ssh -v localhost debug1: Reading configuration data /home/john/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection

Adding public key to ~/.ssh/authorized_keys does not log me in automatically

强颜欢笑 提交于 2019-11-26 17:53:07
问题 I added the public ssh key to the authorized_keys file. ssh localhost should log me in without asking for the password. I did that and tried typing ssh localhost , but it still asks me to type in the password. Is there any other setting that I have to go through to make it work? I have followed instruction for changing permissions: Below is the result if I do ssh -v localhost debug1: Reading configuration data /home/john/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config

Git Remote: Error: fatal: protocol error: bad line length character: Unab

≯℡__Kan透↙ 提交于 2019-11-26 03:22:45
问题 I set up a git server and want now to push initially my repo from the client. I used git push origin master and get this error message: fatal: protocol error: bad line length character: Unab I don\'t know what\'s wrong. I don\'t know what \"Unab\" is. I tried to resize the shell but it is still \"Unab\". I cannot find a solution for this error message. I setup the server with \"authorized_keys\" and SSH. (I can connect to it, using SSH.) It seems to be a git problem? BTW: The server is set up