2
1
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?
Is B an SSH server as well? Please confirm you enter
192.168.1.2:/B/
and then10.5.1.6
appears in the error message. – Kamil Maciorowski – 2018-08-21T07:02:30.0901
See Transfer files to/from session I'm logged in with PuTTY.
– Martin Prikryl – 2018-08-21T07:02:50.830@KamilMaciorowski should be both 192.168.1.2 sorry – user935892 – 2018-08-21T07:10:42.243
@KamilMaciorowski PC B no ssh server, just a shared folder "B' – user935892 – 2018-08-21T07:12:08.927