Having problems copying the directory contents:
PC A: Linux pc with a folder containing images (/usr/share/a/images) PC B: Windows pc with a shared folder call B (192.168.1.2)
I'm using PC B, using putty to open a ssh session on PC A. entered the username and password and manage to get to the terminal
then i try to do the directory copy:
admin@abc-ace:~$ scp -r /usr/share/a/images 192.168.1.2:/B/
ssh: connect to host 192.168.1.2 port 22: Connection refused
lost connection
anyone knows whats wrong? and is my command for scp wrong?
192.168.1.2:/B/
and then10.5.1.6
appears in the error message.