![]() Difference between private/public keys and. Goal: Upload the file file_name.txt to your server into the folder /path/to/directory of the username user: Prerequisite: You generated an ssh connection as described above with the public key my_key.pub. SCP - Secure Copy - File transfer Send file from local drive TO server via SCP Now you can connect with this user with same ssh private key conveniently.Add details to ~/.ssh/config on localhost.Follow these instructions to add user to account and provide him with ssh access.At the bottom is one with many upvotes!Ĭreate a new user and give him ssh public key of first user This SO article discusses different solutions.See this elaborate article and this SO summary.Įxample: Two different bitbucket accounts ![]() In case you use several ssh keys, make sure to run ssh-add -D to delete the cached SSH key(s).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |