Create a new known_hosts file for openSSH in windows
10,687
Set the environment variable HOME
to a directory in which you want the .ssh
directory to be stored.
Related videos on Youtube
Author by
Fantastic Mr Fox
Updated on September 18, 2022Comments
-
Fantastic Mr Fox over 1 year
So i have OpenSSH in windows 7 at a university and i am basicly having this problem:
When i first use SSH it is trying to create the known_hosts file on my university network drive H:
But this is not what i want. How can i define a knew location for the known_hosts file and get it to generate there?
-
Fantastic Mr Fox almost 12 yearsHow do i set and check HOME?
-
Fantastic Mr Fox almost 12 yearsand are you sure the environment variable is home because %HOME% is not recognised.
-
Fantastic Mr Fox almost 12 yearsi cant cd to %HOME% it says that it is not a recognised path.
-
Fran almost 12 yearsDoes
echo %HOME%
show you the value of the variable? If so, the variable is set. Get that working, and the rest should work too.