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
- LightSpy Expands to 100+ Commands, Increasing Control Over Windows, macOS, Linux, and Mobile (source)
- FINALDRAFT Malware Exploits Microsoft Graph API for Espionage on Windows and Linux (source)
- Microsoft testing fix for Windows 11 bug breaking SSH connections (source)
- Windows 10 KB5052077 update fixes broken SSH connections (source)
- Seven Malicious Go Packages Found Deploying Malware on Linux and macOS Systems (source)
- Windows 10 KB5053606 update fixes broken SSH connections (source)
- Outlaw Group Uses SSH Brute-Force to Deploy Cryptojacking Malware on Linux Servers (source)