ssh -i not passing identity files from command line #1891
-
On an ipad pro 12.9 m1
dakey is same as key configured for the host i have this same issue on a local ubuntu 22.04 box, local synology nas, and cloud runpod server the identity file (dakey in my example) is not a path, but the name of the key generated in the app. if i change this to a non-existent key I still get prompted for a password with no error, so I'm not sure what is going on. docs indicate i should pass an identity_file, but no indication of what that is - i just assume it's the same named key i use when i config a host in the config menu. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Thanks for the thorough report. Your command is correct. Could you send a -vvv dump? In particular, want to see if the connection is trying the public key with the remote and if the remote is discarding it. I'm assuming that configuring the key as part of the Host works, correct? |
Beta Was this translation helpful? Give feedback.
-
Well, adding the -vvv I think id'd my issue. I was cutting and pasting from runpod, which puts flags after the host - when -vvv did not work at the end either it clicked, and I realized here ordering of flags and arguments seem to matter (just wasn't used to it) so thanks 😊 |
Beta Was this translation helpful? Give feedback.
Well, adding the -vvv I think id'd my issue.
I was cutting and pasting from runpod, which puts flags after the host -
ssh root@ip.ad.dre.ss -p 47151 -i dakey
for example(so my repro was not accurate, mea culpa)
when -vvv did not work at the end either it clicked, and I realized here ordering of flags and arguments seem to matter (just wasn't used to it)
so thanks 😊