Skip to main content
7 events
when toggle format what by license comment
Oct 6, 2020 at 12:00 history edited JW0914 CC BY-SA 4.0
Added code boxes ; Grammatical corrections
Sep 29, 2020 at 9:55 comment added Martin Prikryl So the answer works. For the answer to your new problem, see superuser.com/q/1296024/213663
Sep 29, 2020 at 9:51 comment added user1224005 I know that if I store the file in the user folder all works fine. I have tested that already. When using the option -i %home%\.ssh\id_rsa , I'm getting the issue: Permissions for 'K:\\Batch\\mySSH\\.ssh\\id_rsa' are too open.
Sep 29, 2020 at 9:48 review Low quality posts
Sep 29, 2020 at 11:16
Sep 29, 2020 at 9:42 comment added paddywan Try and use the absolute path to your identity file, you might need to escape spaces with \ if your path contains any. Hopefully this should fix your issue: -i K:\Batch\mySSH\.ssh\id_rsa. Alternatively, consider storing your identity files inside of your user directory, inside of .ssh. This would be better practice than leaving your identity outside of the user protected directory structure.
Sep 29, 2020 at 9:38 comment added user1224005 That doesn't work. It still looks for the file id_rsa in the folder C:\Users\johnDoe\.ssh\ . However, this file is located in K:\Batch\mySSH\.ssh\
Sep 29, 2020 at 9:22 history answered paddywan CC BY-SA 4.0