how to check ssh agent is running in git bash
# Set up ssh-agent
SSH_ENV="$HOME/.ssh/environment"
function start_agent {
echo "Initializing new SSH agent..."
touch $SSH_ENV
chmod 600 "${SSH_ENV}"
/usr/bin/ssh-agent | sed 's/^echo/#echo/' >> "${SSH_ENV}"
. "${SSH_ENV}" > /dev/null
/usr/bin/ssh-add
}
# Source SSH settings, if applicable
if [ -f "${SSH_ENV}" ]; then
. "${SSH_ENV}" > /dev/null
kill -0 $SSH_AGENT_PID 2>/dev/null || {
start_agent
}
else
start_agent
fi
Also in C++:
- uninstalling eclipse from ubuntu
- how to reset network on ubuntu 20.04
- Failed to start nginx.service: Unit nginx.service not found.
- firewall allow port ubuntu
- how to download files using cmd
- file search linux by text
- how to install raspap
- how export tables database in command line linux
- show dialog box shell script
- open xampp control panel from terminal ubuntu 20
- onedrive ubuntu 20.04
- linux version
- git not taking file name change
- download file using cmd
- git bash login command
- ubuntu 20.04 how to check dns server
- check what is running on port linux
- react-router-breadcrumbs-hoc@^3.2.3 yarn upgrade
- install clasp
- omni github
- init npm
- install dlib gpu check
- screen recorder for ubuntu
- com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException