![]() If I did that, root already had ownership of the file obviously so the ssh-copy-id command would have worked doing it through root. I logged in with root early on, but I disabled root login. With ls -l, I saw the owners of /home/leifers/, and it was root. ssh folder for my machine wasn't there that I now started to catch on with. ), and changed the ownership of my main user to my home directory, as the. I followed a guys advice below (its the large one with ls -ald. I forgot that this error was coming from the VPS (Ubuntu 18.04) rather than my system. I looked around at posts on forums an such and none of them who were in my context or not didn't solve anything. ![]() Mkdir: cannot create directory ‘.ssh’: Permission denied ![]() usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed - if you are prompted now it is to install the new password: usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/leif/.ssh/id_rsa.pub" I am not totally sure what its try to do, but here's the full output.ssh % ssh-copy-id -p 101 Ssh copy id ssh how to#I am following this article on how to do so, and it's going great until I get an error from ssh-copy-id saying it doesn't have perms to make new. ![]() I am not sure the point of having an SSH with a password which is much less strong, so I have went this route, not giving my main user password and stuff. I am making my VPS only accessible to using my SSH key, that I will make. Hey guys, I don't know if this sub I should be posting this too, but this is a UNIX ssh topic. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |