Re: ssh

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: Main PLUG discussion list
Subject: Re: ssh
hey..... I figured out the username/hostid thing. the laptop is
'bmike1@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
     :
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, <
> 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@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@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 <>
>> 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@host1:mnt/sda1
>>> user2@host2:desired/directory/**file/name
>>>
>>>
>> --
>> :-)~MIKE~(-:
>>
> ------------------------------**---------------------
> PLUG-discuss mailing list - .**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@Michaels-Laptop'. that was easy.
--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss