Keith Antoine wrote: <snip> > I ssh in and then cd to /home/webroot/eastwind/docs; at this point i can call > scp, but from that point I have had no success. > What do I use in the user@host: position my login on the remote machine and > my hostname here or what ? Sorry I have no idea what user@host: stands for. > > Everytime I enter anything all I get is: > kantoine@univac:/home/webroot/eastwind/docs$ scp -r > kantoine@CPE-203-45-140-190:/photos/ > usage: scp [-pqrvC46] [-S ssh] [-P port] [-c cipher] [-i identity] f1 f2; or: > scp [options] f1 ... fn directory > > Until recently I have always used ftp to get to the site so ssh is a closed > book and there are NO examples out there to explain what to do. Howto and man > are useless. Lastly I am a h/w man not a software guy. > > -- > Keith Antoine aka 'skippy' > 18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161 > Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage > > _______________________________________________
Maybe an easier method for you (you be the judge) is to (on your local machine) do it like this: 1. cd to the directory of the files you want to transfer e.g. cd /home/kantoine/pics 2. scp yourfilenamehere xxx.xxx.xxx.xxx:/home/webroot/eastwind/docs (substitute the real file name for yourfilenamehere and the server's ip address for the xxx's. You should get a login prompt to enter your username & password, then you'll see the transfer progress. 3. Remember that you invoke scp from the machine you want to transfer FROM not the machine you're transferring TO. HTH, -- Andrew Mathews ------------------------------------------------------------ 7:45pm up 17 days, 10:22, 7 users, load average: 1.12, 1.08, 1.04 ------------------------------------------------------------ Oh Dad! We're ALL Devo! _______________________________________________ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
