ssh
kitepilot at kitepilot.com
kitepilot at kitepilot.com
Fri Feb 17 06:30:31 MST 2012
In order to ssh into a windoze box as user at host, you'll need to set up a SSH
server in the windoze box and establish a shell to login into which will
honor your commands (which all I have done in the past).
Have you considered alcoholism?
You may have a better shot... :)
As a rule of thumb, you initiate the backup of a windoze box FROM the box
itself.
Unless you enjoy self-inflicted pain...
ET
Michael Havens writes:
> one more thing.... how would I figure out the user at host name of a windows
> computer?
> with that I'll be able to backup my brothers computer!
>
> On Thu, Feb 16, 2012 at 11:42 PM, Michael Havens <bmike1 at gmail.com> wrote:
>
>> so wait a second.... could I put fsarchiver on the server and then:
>>
>> tar --ignore-failed-read [/mnt/sda1] -czf - | ssh remoteuser at remote.system"tar -xzf - "| "<fsarchiver command>"
>>
>> so the tar command will create a tarball and the the pipe will transfer
>> the tarball to the server and extract it wich the second pipe will feed
>> into fsarchiver. Is that correct? I have a question: what does the minus
>> sign in front of the pipes represent? Well... I know it represents the
>> name of the tar ball but.... is it the name? Could I put anything in that
>> place?
>>
>> and then Enriques command (tar jcf - /path/to/backup|ssh user at otherbox'tar xf -') would compress a tarball and then create a non compressed
>> archive on the server.
>>
>> You know... I wondered if I could use scp for this. Investigating the man
>> page reveals that this is the program I want to use. The text of the
>> command that I should issue I think would be (I want to do this from a
>> third computer):
>>
>> scp -Cr user1 at host1:mnt/sda1 user2 at host2:desired/directory/file/name
>>
>> I don't know if I assigned a user1 or a host1 name. How can I find this
>> out? If I didn't how would I assign one or change it to a more appropriate
>> name?
>>
>> This is fun!
>>
>
>
>
> --
> :-)~MIKE~(-:
More information about the PLUG-discuss
mailing list