LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hello (https://www.linuxquestions.org/questions/linux-newbie-8/hello-4175527775/)

batmans 12-09-2014 05:28 AM

hello
 
hello, i was using centos server and i wanted to install nomachine package which is located at a windows server ....so i want a command that can help me to move the package to the centos server...i am already accessing the server but it's not connected to the internet

thanks in advance

need a quick answer

rtmistler 12-09-2014 06:30 AM

You could use secure copy scp(1)

My preference in a case like this would be to install cygwin on the Windows side and use scp from a cygwin terminal on the Windows server, a'la:
Code:

scp <filename> <user>@<ip-address-of-centos-server>:<pathname>/<filename>

// However can be as simple as this case if the file were a.txt, you used root,
// placed the file in /home/root, and the address of the centos server were 192.168.2.10

scp a.txt root@192.168.2.10:.

I think overall it would be helpful to have cygwin or a similar package allowing Linux commands on the Windows server and definitely having support services such as FTP for instance if you set up an FTP server on the Windows server machine. Also SCP, telnet, or preferably ssh so you can copy and attach from Windows to Linux as well.

At least until you get your server all set up.


All times are GMT -5. The time now is 02:30 PM.