Home  >  Q&A  >  body text

github - push and pull under git mac terminal suddenly require ssh password, xcode does not need it

After restarting, suddenly every operation in the terminal requires a password. I checked some methods online but they are currently invalid. Every access operation to gitlab and github within the company requires a password. Ask for advice

ringa_leeringa_lee2646 days ago1186

reply all(4)I'll reply

  • 大家讲道理

    大家讲道理2017-06-23 09:14:22

    If sshkey is not configured, access will be required every time git data is transferred; if sshkey has been configured, there may be a problem with the .ssh configuration file or it has been modified.

    reply
    0
  • 为情所困

    为情所困2017-06-23 09:14:22

    Confirm whether the ssh file is updated. If there is an update, you need to replace it

    Or you can remember the password through git configuration

    git config --global credential.helper store

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-06-23 09:14:22

    MAC can run this script
    Download it and use the sh command and it’s OK

    reply
    0
  • 漂亮男人

    漂亮男人2017-06-23 09:14:22

    Everything was normal before and no special operations were done. Regenerated sshkey once, and it’s good to go after configuration

    reply
    0
  • Cancelreply