[CALUG] SSH question
david l goodrich
dlg at dorkzilla.org
Thu Nov 17 00:01:48 CST 2005
James Ewing Cottrell 3rd wrote:
> Using DD to back up partitions is a Bad Idea! Pick Something Else!!
why? `dd` works just fine depending on what you're trying to do. i've
used it with great success in the past.
> 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 =
>>>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/=
> 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/=
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://calug.com/pipermail/lug/attachments/20051117/1494b949/signatur=
More information about the lug