[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.
  --david

> =

> And there are several way for SSH to read passwords.
> =

> [1] as mentioned, from /dev/tty
> [2] thru expect, which simulates /dev/tty with a pty
> [3] by using an account with no password
> [4] [3] by using an account with .rhosts or .shosts permission
> [5] by using a public/private key with no pass phrase
> [6] 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
> =

> 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
>>
>>
>> =

>>
> =

> =

> _______________________________________________
> 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
> =


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://calug.com/pipermail/lug/attachments/20051117/1494b949/signatur=
e.bin


More information about the lug mailing list