LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Transferring files from ubuntu 11.10 to MAC via ssh (https://www.linuxquestions.org/questions/linux-newbie-8/transferring-files-from-ubuntu-11-10-to-mac-via-ssh-946181/)

Adwat 05-21-2012 12:52 PM

Transferring files from ubuntu 11.10 to MAC via ssh
 
Hey,
I have an account on a MAC provided by the university.
Currently I can access it by the following command

ssh name@name2.mit.edu

Is there any way I can remotely transfer data file from my linux machine to the mac. What would be the commands for the same.

I tried searching the scp command on the net, but I couldn't figure it out.

Any help would be greatly appreciated.

Thanks!

Best,
Adwait

em31amit 05-21-2012 01:05 PM

you can use scp command to tranfer data file from linux to mac.


Code:


scp name@name2.mit.edu:/path/to/file /path/to/file/on/your/mac/where/you/want/to/save/it


schneidz 05-21-2012 01:21 PM

the basic scp syntax would be
Code:

scp user1@host1.net:/path/to/filename user2@host2.net:/path/to/filename
there is also sftp which prompts the user with questions but is slower.

consider setting up public key encryption.

edit: i see em31 beat me ^


All times are GMT -5. The time now is 09:18 PM.