When I use scp to copy one file from server to laptop, it gives me a error, said:
pemission denied(publickey,password......)
lost connection
But ssh works , so I google for a while and find the resolution .
If you work on a server ,don't do :
scp -r usr@ip(server):path usr@ip:path
because maybe you don't have right to transfer files on ip server.
So you can do:
scp -r path usr@ip:path
Because the path is on your local folder, so it works for me..
No comments:
Post a Comment