I don't want to pass ssh key through a file. I want to pass it along with the ssh command only along with user@ip. Can I modify that ssh command? Can anyone provide me the command to pass rsa key along with user?

I have yet to see such a feature. https://kb.iu.edu/d/aews tells me it's just one more command line to securely copy in your key.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.