Posts

Showing posts with the label scp

Files for the web server.

Image
Original test page: Copy files to your web server in one pass. $ ssh typo1 eddie@typo1’s password: Linux typo1 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2+deb7u2 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Tue Jan 6 04:37:43 2015 from oelt02.main eddie@typo1:~$ cd /var/www eddie@typo1:/var/www$ ls eyeOS index.html eddie@typo1:/var/www$ sudo mv index.html indexhtml.old [sudo] password for eddie: eddie@typo1:/var/www$ ls eyeOS indexhtml.old eddie@typo1:/var/www$ sudo scp eddie@oelt02:~/pwsrvr/* . [sudo] password for eddie: eddie@oelt02’s password: 1.gif 100% 7455 7.3KB/s 00:01 scp: /home/eddie/pwsrvr/backup: not a regular file bash1.png 100% 55KB 55.5KB/s 00:00 bashscript.html 100% 805 0.8...

Network file copy.

Image
If you are only using command line systems, you have to use the keyboard as part of copying file method. But there is actually, sort of an easier method. You will need to have the  following installed on the systems: openssh-server, fuser, and sshfs for starters.  The easiest way to set up a share is to go to the browser and use the sftp protocol (vs ftp or http) to point to the share.  Notice there are not shares set up yet. and again the file we want to copy is servers.txt.   Now you should see the share in the lower left hand side window. Now you want to drag and drop the file. That's all.