remotely dd using local image

Viewed 23

So basically Im trying to dd remotely using a local image and a remote drive.

Tried running the command on my laptop and pointing to the remote location:

dd if=$fileName of=nvidia@<ip>:/dev/$drive

also tried running the command on the remote machine and pulling the file over ssh

dd if=nvidia@<ip>:/media/<myMountPoint>$fileName of =/dev/$drive

original (with everything on the remote location):

dd if=$fileName of =/dev/$drive

Error:

failed to open 'nvidia@<ip>:/dev/$drive': no such directory 

any ideas? thanks

0 Answers
Related