Public key value seen as something like that ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFQjE63daTs0xXQscVQgmUhwc9ZqErdlsKM+Txg+FgNwQY+UkUK7NompO6lARSeucB/ghcOxwRSU/ZXKYCQSEOuitHuNQyiXKkhOJJOYbaEWoiq5OltK87bp4uK4V2U/rZOkVdX4Lb7ihEd6DHt02nf13ZwiqupxKOQb1Y53yKoCXyOF2AgG7Sc7B4i31iY/spBcpcJWMnXwaXuNItjMH4lJtxJ8RJ7C18fEFjtgCG4MeZi7X2C7HoAaABPUnp0rjlcP74sDr1HjWPDugYAbqkmzkuQI9a/F/WPHQxTVy2blOnVTULx+9Q5c7t2NE/3g8pKcJ1xfbH7EDPQHzYeztZ it, and open your digitalocean account and select your droplet and there is a Security tab on the left hand side. Now you can get the public key, don’t afraid it’s just copy and paste. You can edit and possibly broke you public key :) Add Public Key to DigitalOcean Obetron is a private key and obetron.pub is a public key. Now your key pair created with a name -rw- 1 obetron staff 1896 Feb 1 13:04 obetron -rw-r-r- 1 obetron staff 417 Feb 1 13:04 obetron.pub The key fingerprint is: SHA256:aFgCLc7fL1ArDwQB87Stz9BBQR6hoLljDeTZMZ55VEY The key's randomart image is: +-+ |+o+**+oE | |+**BB. Your public key has been saved in obetron.pub. After that there will be an output like that Your identification has been saved in obetron. You can enter a pass and Enter same passphrase again:Įnter same pass again for verification. Now asking to you a passphrase for key pairs. Whenever I try to SFTP my files to the server to display on my website, I have Filezilla connected to the AWS server but when I try to move the files from my local machine to the /var/So my files are on the server I guess. Enter passphrase (empty for no passphrase): You can enter id_rsa or something like that. Waiting from you, a file name for creating key pairs. Enter file in which to save the key (/Users/obetron/.ssh/id_rsa): There is a command appeared like Generating public/private rsa key pair. Let’s begin with how can I created my ssh key what I’ve done? Create SSH Key on Command Lineįor creating SSH Key open command line and write the following command ssh-genkeyĪnd run it. Firstly I tried create a new SSH key and save it on over digitalocean control panel, but nothings changed. Everything was going well but when I want to connect to server via SSH got an error like “Permission denied (publickey)”. Today I’ve been want to create a web site for my domain and created a droplet on digitalocean.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |