View Single Post
Posts: 109 | Thanked: 91 times | Joined on Dec 2007
#20
Originally Posted by qwerty12 View Post
Yes, it's a wrapper for ssh which intercepts the ask password prompt.

Example usage, "sshpass -p p!mp ssh qwerty12@thahustlerz.co.uk"
I understand your motivation for writing this, and it's well-meaning of you to make it available to the community.

However, this sets a really example, in that it uses a clear-text password. This is a terrible security practice, even on something like the tablet.

There's an excellent solution to the "problem" of supplying a password to ssh connections, the ssh-agent program. This has several advantages:

1. it's already on the tablet (no additional software required)

2. it's thoroughly tested

3. it's a standard method, available on virtually any platform that has an ssh client

4. it doesn't store a clear-text password and no password is available in the environment strings or system memory (a more serious consideration on a multi-user machine)
 

The Following 3 Users Say Thank You to z2n For This Useful Post: