Having got ssh working reliably oevr my home network, tahnks ot teh opatient help of thsi list, I am now trying to copy files aroind. I am on 192.168.0.2, but have sshed in to 192.268.0.3 (I must get hostnames working :-( ).
The other day I successfully ciopied a pictiyure from .2 to .3, and now I am tring to copy from .3 to .2. I have been usinmg this: "To copy a file from B to A while logged into B: scp /path/to/file username@a:/path/to/destination " http://unix.stackexchange.com/questions/106480/how-to-copy-files-from-one-machine-to-another-using-ssh Here is what I have done (all of it, in case something I deem irrelevant is the crux of the matter)): --------------------------------------- lisi@Tux-II:~$ ssh peter@192.168.0.3 peter@192.168.0.3's password: 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. Last login: Tue Jun 14 15:17:05 2016 peter@Nyx-II:~$ cd Lisi/ peter@Nyx-II:~/Lisi$ ls Council-tax-bill Packages-installed-on-Tux-II Drug-order_13-08-26.odt P-passport file2ssXvS.xlsx tax-info grub-warnings-when-updating-to-7.2 tax-info_81-purchase Ken-Blue-10.jpg TheSecretsOfStationX libflashplayer.so.odt Tux-II_sources.list L-passport.pdf watch L-passport.png watch-colour Mass-of-Christ-the-King_singing-order.odt Wireless-tests.odt Nyx-hardware-address.odt peter@Nyx-II:~/Lisi$ cp Ken-Blue-10.jpg Lisi@192.168.0.2:~/Pictures/ cp: cannot create regular file ‘Lisi@192.168.0.2:~/Pictures/’: No such file or directory peter@Nyx-II:~/Lisi$ cp Ken-Blue-10.jpg Lisi@192.168.0.2:~/Pictures/Ken-Blue-test cp: cannot create regular file ‘Lisi@192.168.0.2:~/Pictures/Ken-Blue-test’: No such file or directory peter@Nyx-II:~/Lisi$ --------------------------------------- Once I have one file copied, I shall divert back to square one and sort out host names, starting with the hints I have already been given. I can't keep using full IPs! After all this, my main motivation for learning right now was to ssh into two computers that I administer 11 miles away, without having to bother the owners (I would just have to say: leave your computers turned on), and I'm not going to be able to do it, I think, because their ISP uses dynamic IPs. :-( (I have a static IP.) Lisi