# Get key for machine ```sh ssh-keyscan ``` If you want to get key for the current machine you can use the following code ```sh ssh-keyscan localhost ```