Security News > 2023 > June > How to View Your SSH Keys in Linux, macOS and Windows
Pub The command will print out your SSH key on your Linux machine without prompting you for your key authentication password.
How to view your SSH public key on macOS. Viewing your keys on macOS can be done in a similar fashion as on Linux.
To view the SSH public key on macOS Open your terminal window, and run the command cat ~/.ssh/id rsa.
To generate an SSH public key on Windows Run the command: ssh-keygen You'll be asked where to save the key.
To view your SSH public key on Windows Run the command: type ~.sshid rsa.
That's all there is to viewing your SSH public and private keys on Linux, macOS, and Windows.
News URL
https://www.techrepublic.com/article/how-to-view-your-ssh-keys-in-linux-macos-and-windows/
Related news
- Microsoft Office 2024 now available for Windows and macOS users (source)
- Windows infected with backdoored Linux VMs in new phishing attacks (source)
- New CRON#TRAP Malware Infects Windows by Hiding in Linux VM to Evade Antivirus (source)
- Microsoft says recent Windows 11 updates break SSH connections (source)
- Fake AI video generators infect Windows, macOS with infostealers (source)