I would like to keep my ssh command hidden/disguised from other users.
Example:
ssh user@host -i /my/private/key
Unfortunately this will come up in the ps listing and other users will be able to see the private key file that I am using. Is there a way around this?
(They are logged in as the same user as I am)
You can setup your private key via your ~/.ssh/config file which is secured by 0700. Here is example of ~/.ssh/config: