...
If you have logged in but ssh fails to connect, it may be that your SSH agent is not running.
The Agent can be started and tokens refreshed this way:
Code Block | ||
---|---|---|
| ||
echo 'eval $(ssh-agent -s)' >> ~/.bash_profile tsh logout tsh login |
And this will make sure the Agent is running in your environment:
Code Block | ||
---|---|---|
| ||
echo ' eval $(ssh-agent -s) tsh logout tsh login' >> ~/.bash_profile |
SCP, X11, Agent, and Port Forwarding
...