I am trying to use ssh and login to a different mac (B) from my mac (A) but do not know B's password. Is there anyway of finding B's password or doing this without access to B?

  • 4
    If you can place your SSH public key on B, you may be able to connect using your SSH private key without using a password. – CoverosGene Nov 24 '14 at 20:09
  • 3
    This question appears to be off-topic because it belongs on Ask Different – TheCleaner Nov 24 '14 at 21:56

No, there's no way to do that. Without having access to the other mac you cannot place your key in order to log in.

You would have to have prior knowledge of the password otherwise.

  • Is there a way of changing the users password – Maanit Madan Nov 24 '14 at 20:19
  • 1
    This is getting into an area that is frowned upon on this site: serverfault.com/tour – Craig Nov 24 '14 at 20:23
  • 2
    @MaanitMadan do you own that machine, or are you responsible for it? Go to the machine physically boot it off the installer media. There is a password reset tool. – Zoredache Nov 24 '14 at 20:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.