Skip to main content
add .bashrc line
Source Link
VonC
  • 1.4m
  • 569
  • 4.8k
  • 5.7k

The environment variables set by copSSH are not the same than the one found in a git bash Windows. (see also OpenSSH on Windows)

You may need to redefine the $HOME variable to the one used by copSSH. See this thread for additional example of HOME redefinition.

By default, HOME=/c/Users/Nick.
Try:

 export HOME=/c/copSSH/home/Nick 

To make it permanent (each time you open a bash shell), you can try adding this line to your .bashrc under c:\Users\Nick (c:\Users\Nick\.bashrc)

The environment variables set by copSSH are not the same than the one found in a git bash Windows. (see also OpenSSH on Windows)

You may need to redefine the $HOME variable to the one used by copSSH. See this thread for additional example of HOME redefinition.

By default, HOME=/c/Users/Nick.
Try:

 export HOME=/c/copSSH/home/Nick 

The environment variables set by copSSH are not the same than the one found in a git bash Windows. (see also OpenSSH on Windows)

You may need to redefine the $HOME variable to the one used by copSSH. See this thread for additional example of HOME redefinition.

By default, HOME=/c/Users/Nick.
Try:

 export HOME=/c/copSSH/home/Nick 

To make it permanent (each time you open a bash shell), you can try adding this line to your .bashrc under c:\Users\Nick (c:\Users\Nick\.bashrc)

add command; deleted 5 characters in body
Source Link
VonC
  • 1.4m
  • 569
  • 4.8k
  • 5.7k

The environment variables set by copSSH are not the same than the one found in a git bash Windows. (see also OpenSSH on Windows)

You may need to redefine the $HOMEDIR$HOME variable to the one used by copSSH. See this thread for additional example of HOME redefinition.

By default, HOME=/c/Users/Nick.
Try:

 export HOME=/c/copSSH/home/Nick 

The environment variables set by copSSH are not the same than the one found in a git bash Windows. (see also OpenSSH on Windows)

You may need to redefine the $HOMEDIR variable to the one used by copSSH.

The environment variables set by copSSH are not the same than the one found in a git bash Windows. (see also OpenSSH on Windows)

You may need to redefine the $HOME variable to the one used by copSSH. See this thread for additional example of HOME redefinition.

By default, HOME=/c/Users/Nick.
Try:

 export HOME=/c/copSSH/home/Nick 
Source Link
VonC
  • 1.4m
  • 569
  • 4.8k
  • 5.7k

The environment variables set by copSSH are not the same than the one found in a git bash Windows. (see also OpenSSH on Windows)

You may need to redefine the $HOMEDIR variable to the one used by copSSH.