[CALUG] SSH question
James Ewing Cottrell 3rd
JECottrell3 at Comcast.NET
Wed Nov 16 23:19:47 CST 2005
Using DD to back up partitions is a Bad Idea! Pick Something Else!!
And there are several way for SSH to read passwords.
 as mentioned, from /dev/tty
 thru expect, which simulates /dev/tty with a pty
 by using an account with no password
  by using an account with .rhosts or .shosts permission
 by using a public/private key with no pass phrase
 by using ssh-agent
Note that not all of these are good ideas.
The ssh-agent can be started by hand and read by the script on the fly.
Jim Bauer wrote:
>On Thursday 27 October 2005 09:58, Jason C. Miller wrote:
>>Working with Mr. Breen's suggestion of using dd and ssh to backup hard
>>drives, I was wondering if anybody knew off the top of their heads if
>>password-less login is required for this to work. If I try to pipe some
>>output into ssh (to be processed on the remote machine), does it matter if
>>I manually put in the password or not?
>No. ssh will read the password from /dev/tty not stdin.
>Columbia, Maryland Linux User's Group (CALUG) mailing list
>CALUG Website: http://www.calug.com
>Email postings to: lug at calug.com
>Change your list subscription options: http://calug.com/mailman/listinfo/lug
More information about the lug