ssh
kitepilot at kitepilot.com
kitepilot at kitepilot.com
Fri Feb 17 09:40:14 MST 2012
> How should I tell it to start from / rather than ~ ?
Instead of
> 192.168.0.3:mnt/sda1
Do:
> 192.168.0.3:/mnt/sda1
The path-resolution rules apply unchanged after the ':'
Do:
man path_resolution
'Michaels-Laptop' will only resolve in 'Michaels-Laptop', unless you add
that name/IP combo to some sort of name-resolution system (bind, /etc/hosts,
many options to choose from)
localhost (or 127.0.0.1) will resolve to 'this machine' (when properly
configured, which is the case in most Linux installations if not all of
them)
Don't shot yourself on the foot.
Again...
ET
Michael Havens writes:
> hey..... I figured out the username/hostid thing. the laptop is
> 'bmike1 at Michaels-Laptop'. that was easy.
>
> you're right... that isn't what I want. I thought that:
>
> scp -r -o Compression yes -o CompressionLevel 9 -o HostName
> 192.168.0.3:mnt/sda1
> fatherswithforeignbabies.us at fatherswithforeignbabies.us:
> copies/2012-2-17
>
> would copy recursively 192.168.0.3 from /mnt/sda1 to the
> server:folder/filename
> How should I tell it to start from / rather than ~ ?
>
>
> On Fri, Feb 17, 2012 at 8:30 AM, kitepilot at kitepilo.com <
> kitepilot at kitepilot.com> wrote:
>
>> Mike, look at the path after the colon:
>> what that says is:
>> 'copy whatever is inbound to a directory named "mnt/sda1"
>> located in my HOME directory'
>> Is that what you want? to th
>> Probably not...
>> ET
>>
>>
>> Michael Havens writes:
>>
>>> hmmmmm.... not working. I wonder why. Any ideas?
>>> bmike1 at Michaels-Laptop ~ $ scp -r -o Compression yes -o CompressionLevel
>>> 9
>>> -o HostName 192.168.0.3:mnt/sda1
>>> fatherswithforeignbabies.us@**fatherswithforeignbabies.us:co**
>>> pies/2012-2-17
>>> command-line line 0: Missing yes/no argument.
>>> lost connection
>>> bmike1 at Michaels-Laptop ~ $
>>> The yes/no argument is there though!
>>> I tried putting the yes in quotes, capitalized, just y, and some others I
>>> can't remember.
>>> On Fri, Feb 17, 2012 at 12:05 AM, Michael Havens <bmike1 at gmail.com>
>>> wrote:
>>>
>>>> cool.... after investigating further I've modified my command string.
>>>> Could you show me how to make it right (I just assume I'm wrong
>>>> anymore!)?
>>>> scp -r -o Compression yes -o CompressionLevel 9 user1 at host1:mnt/sda1
>>>> user2 at host2:desired/directory/**file/name
>>>>
>>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>> ------------------------------**---------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.**phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>
>
> hey..... I figured out the username/hostid thing. the laptop is
> 'bmike1 at Michaels-Laptop'. that was easy.
> --
> :-)~MIKE~(-:
More information about the PLUG-discuss
mailing list