8

I have connected my Mac to lots of public Wi-Fi networks. I want to know their passwords. What should be the terminal command to list all the Wi-Fi networks whom I connected with in the past with their passwords.

0

2 Answers 2

14

Open Keychain Access from /Applications/Utilities and search for AirPort. All the network passwords are listed as 'AirPort network password' entries. Double-click an entry, then select Show Password and enter your login password to view it.

3
  • 4
    thanks thats the graphical way, found other way to do it via terminal: cd /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport Commented Oct 12, 2014 at 19:44
  • 1
    → Stack: could you develop the method you found, and make an answer of it?
    – athena
    Commented Nov 8, 2014 at 14:19
  • /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport is an executable file in current version of MacOS. 'cd' to it is invalid.
    – Nate
    Commented Feb 27, 2019 at 19:36
1
  1. Open Keychain Access app. It is located in the Applications > Utilities folder.

  2. Select the System keychain in the left menu bar, and select Passwords from the category menu. This will filter the keychains to just your stored passwords

enter image description here enter image description here PFA below.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .