How to modify ~/.ssh folder & files in windows? -


i feel missing fundamental concept how .ssh directory works in windows. have had no issues when working in osx/linux having now. end goal move existing ssh key default ~/.ssh directory, , update config if choose (you know, normal ssh key related tasks).

however, time have tried move existing ssh key on ~/.ssh directory, or open it, or create config file following error (in either gitbash, puttygen, etc...):

puttygen (saving key disk):

overwrite existing file c:\users\me\.ssh? 

or in gitbash (attempting anything, including create config file):

touch: creating `/c/users/me/.ssh/config': no such file or directory  cd ~/.ssh  sh.exe": cd: /c/users/me/.ssh: not directory 

what missing/not understanding?

kind regards, u353

i have created , regularly use ".ssh" directory on windows 7; mentioned in above comments, windows explorer doesn't support them, or more specifically, error-checking in windows explorer not allow give file name starts period. same restriction not exist in command prompt or powershell.

also, mentioned above, appears have file called ".ssh" in home directory, must removed before can create folder named ".ssh".

once such folder exists, can open , change/create files in using windows explorer; won't let name folder/file ".ssh" directly.

gitbash should directly allow run "rm .ssh" , "mkdir .ssh", @ point else should work.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -