You are not logged in.
Pages: 1
Hi,
is there a possibility to pass ssh pasword as an option, for example I would like to login this way:
ssh root@example.com
but instead of being prompted for a password I want to pass it as an option. Any suggestions?
mdv
Offline
Maybe Using SSH Keys on the Archlinux wiki is what you're searching for.
Offline
Hi,
is there a possibility to pass ssh pasword as an option, for example I would like to login this way:ssh root@example.com
but instead of being prompted for a password I want to pass it as an option. Any suggestions?
mdv
You can't pass the password over the command-line. If you need to login automagically you need to use ssh keys and ssh-agent.
Offline
another reason not to pass it in the command line (instead of prompt or agent/keys) would be that your bash prompt (IIRC) has a history that is stored in cleartext. If someone got ahold of that they might be able to get your passwords for anything you SSHed into.
That is how Debian did things anyway I am not sure if Arch is different in that respect. I have only been using arch for 1-2 months.
Offline
It should be user's choice if he/she wants to take this risk. I don't like the idea of security forced on me .
Offline
It should be user's choice if he/she wants to take this risk. I don't like the idea of security forced on me .
then create a ssh key without a password. That's insecure too
Offline
It should be user's choice if he/she wants to take this risk. I don't like the idea of security forced on me .
Passing passwords in over the command line is an unneccesary feature. Use telnet if you want to be insecure.
Offline
mdv wrote:It should be user's choice if he/she wants to take this risk. I don't like the idea of security forced on me .
Passing passwords in over the command line is an unneccesary feature. Use telnet if you want to be insecure.
Actually, you can use opie or S/KEY and one/time passwords with telnet if you *have* to auth in the open. But that wont stop someone on your lan from hijacking your session after you've logged in
Offline
Pages: 1