You might do something like this, it might be a little safer and 
will preserve your links,perms and such.

         I use this to move around home directories and such with great 
success.

  cd basedir ; tar cvf - dirtocopy | (ssh2 -q remote@floyd "cd basedir ; 
tar xfBF -")


-Todd Wilkinson
[EMAIL PROTECTED]







At 09:45 AM 7/23/01 -0700, you wrote:

>Hi,
>
>Can someone please tell me how I can upload a whole directory structure from
>my PC to my server using ssh (rz)?  I can upload files, but am unable to
>copy the whole directory and sub-directories within the parent directory.
>The version of ssh I am using on my server is:
>
>SSH Version 1.2.27 [i686-unknown-linux], protocol version 1.5.
>Standard version.  Does not use RSAREF.
>
>The client software I am using is SecureCRT.
>
>Thanks.
>
>Peter


Reply via email to