Skip to main content

Thread: I can't login: ssh pop up asks for passphrase


i setting git ssh key passphrase on ubuntu 12.04 via terminal assistance of help.github: "you can run ssh-agent automatically when open bash adding following ~/.profile or ~/.bashrc file" added ~/.bashrc file:

[also: have no idea why code box horizontal , not vertical: code added can viewed nicely @ help.github link above]
code:
ssh_env="$home/.ssh/environment"  # start ssh-agent function start_agent {     echo "initializing new ssh agent..."     # spawn ssh-agent     ssh-agent | sed 's/^echo/#echo/' > "$ssh_env"     echo succeeded     chmod 600 "$ssh_env"     . "$ssh_env" > /dev/null     ssh-add }  # test identities function test_identities {     # test whether standard identities have been added agent     ssh-add -l | grep "the agent has no identities" > /dev/null     if [ $? -eq 0 ];         ssh-add         # $ssh_auth_sock broken start new proper agent         if [ $? -eq 2 ];then             start_agent         fi     fi }  # check running ssh-agent proper $ssh_agent_pid if [ -n "$ssh_agent_pid" ];     ps -ef | grep "$ssh_agent_pid" | grep ssh-agent > /dev/null     if [ $? -eq 0 ];     test_identities     fi # if $ssh_agent_pid not set, might able load 1 # $ssh_env else     if [ -f "$ssh_env" ];     . "$ssh_env" > /dev/null     fi     ps -ef | grep "$ssh_agent_pid" | grep -v grep | grep ssh-agent > /dev/null     if [ $? -eq 0 ];         test_identities     else         start_agent     fi fi
a little later restarted computer. now, whenever attempt log on (i.e. enter password , press enter @ login screen) sole user (as opposed guest) screen goes black , pop-up appears asking me /.ssh/rsa_id passphrase.


when enter passphrase entered github, ubuntu throws me login screen, square one. way know how else login functionally guest.


has happened , can fix this?

to account can:

hold shift key while system boots, should startup screen, select recovery prompt.

when gets menu select root prompt network option. can navigate home directory using command

code:
  cd /home/<your username>
edit file setup using

code:
  nano <filename>

reboot , should able login.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] I can't login: ssh pop up asks for passphrase


Ubuntu

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?