View Full Version : Linux to OSX via SSH command
Andy:P
06-24-2003, 05:50 PM
Can anyone one tell me how to do this.
I have Linux set-up on an old mac (with no ftp access), and I want to
be able to transfer files between this and OSX.
I have been able to change files via VI and the SSH command, but not
sure how to copy files across.
Any help would be great, Thanks.
andy:p
Jim Hill
06-24-2003, 06:15 PM
Andy:P wrote:
>Can anyone one tell me how to do this.
>
>I have Linux set-up on an old mac (with no ftp access), and I want to
>be able to transfer files between this and OSX.
>
>I have been able to change files via VI and the SSH command, but not
>sure how to copy files across.
>
>Any help would be great, Thanks.
Use the scp (secure copy) command. The basic syntax is
scp file username[at]remote.machine:/path/where/you/want/it
The man page (man scp from a terminal window) will give you more detail
that you probably want...take a look at the -r flag for recursion, which
will let you move entire directories rather than file-at-a-time.
Jim
--
Longhaired freaky people need not apply.
stan[at]temple.edu
06-24-2003, 07:44 PM
Andy:P <youcangetme[at]eudoramail.com> wrote:
> Can anyone one tell me how to do this.
> I have Linux set-up on an old mac (with no ftp access), and I want to
> be able to transfer files between this and OSX.
> I have been able to change files via VI and the SSH command, but not
> sure how to copy files across.
From Linux to Mac OS X, try using sftp which should already
be ready to go on your Mac.
Andy:P
06-30-2003, 12:32 PM
Thank you both for these answers, I will try and see which one works for me.
andy:p