downloading remote files using scp
1 message · started by George Praggastis on Jan 27, 2023
downloading remote files using scp
From George Praggastis · Jan 27, 2023
i am trying to copy contents of aTestDirectory on one machine (remote machine) to another machine (local machine) by issuing a local scp command:
scp georgep@georgep-Latitude-E5500:/home/georgep/TestDirectory/*.* /home/georgep (space between last * and /home/georgep)
i get response on local machine:
ssh: Could not resolve hostname georgep@georgep-latitude-e5500: Temporary failure in name resolution (notice that "l" and last "e" are not in caps?)
anyone know why this scp cmd failed and/or anything about the mixed case business?
PS when i do a pwd on remote i get:
georgep@georgep-Latitude-E5500:~$ pwd
/home/georgep
pwd on local returns:
localusernam/localmachinename:/home/georgep (i previously created georgep sub directory under /home on local)
the user name issuing the scp cmd on local is "clug" and has his own directory under home i.e. /home/clug but this is not relevant to problem
--
Have a good day...George