Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make us use a per host ssh-env.

Helps with LXC containers where we inject a shared user account.
  • Loading branch information...
commit bce7f5745d55e87abefb6cae349d3f3c9cc5a381 1 parent 9a1a047
@sundbp authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  bash_ssh_agent_funcs.sh
View
3  bash_ssh_agent_funcs.sh
@@ -1,7 +1,8 @@
#!/bin/bash
#
# start the ssh-agent
-SSH_ENV="$HOME/.ssh/environment"
+HOSTNAME=`hostname`
+SSH_ENV="$HOME/.ssh/$HOSTNAME-environment"
# start the ssh-agent
function start_ssh_agent {
Please sign in to comment.
Something went wrong with that request. Please try again.