[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scp problem



L.V.Gandhi wrote:
> On 2/24/06, Dan Sheffner <dsheffner@gmail.com> wrote:
> 
>>Q1) Yes you run a program that scans the network range.  Very usefull.  Prob
>>even more ways.
>> Q2) You should never give full access to some random folder on a box for
>>security.  below is what I have used to transfer file between PC.  Only use
>>one slash like below.  Let me know if it doesn't work.
>> scp -p file 192.168.1.1:./ssh
> 
> I tried as you said. Still it asks for password. Even I tried root
> password of 105 and my own password in 102. Still I couldn't do it.
> lvgandhi@lvgdell600m:~$ scp -p
> /mnt/wind/Audio/VenkateswaraSuprabadham.mp3 192.168.1.105:./share
> The authenticity of host '192.168.1.105 (192.168.1.105)' can't be established.
> RSA key fingerprint is 5e:18:a1:63:b8:72:0f:04:f6:79:ff:30:ac:a8:0c:00.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added '192.168.1.105' (RSA) to the list of known hosts.
> Password:
> Password:
> Password:
> Permission denied (publickey,keyboard-interactive).
> lost connection

scp -p /mnt/wind/Audio/VenkateswaraSuprabadham.mp3 root@192.168.1.105:DEST
* where DEST is preferably the full path.
* Use root's "105" password.

Assuming share is located under root's home dir:
scp -p /mnt/wind/Audio/VenkateswaraSuprabadham.mp3
root@192.168.1.105:/root/share


hope it helps



Reply to: