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

Re: scp problem



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

On 2/24/06, L. V. Gandhi <lvgandhi@gmail.com> wrote:
My laptop is in lan for which dhcp server is router Linksys BEFW11S4.
Router is connected to cable modem. Router assigns IP randomly. My
laptop has both wifi and eth. It had ips 192.168.1.101 and
192.168.1.102. Another machine with eth has ip 192.168.1.103. This I
got it from that machine.
Q1) is there anyway to know all machines in the lan with out password
acess to router?
Now I could ping 192.168.1.103. Both machines are having ssh. I made
/share folder in 192.168.1.103 with 777 permissions.
When I did scp like below
scp /mnt/wind/Audio/file.mp3 192.168.1.103://share/
I got the following
The authenticity of host '192.168.1.103 (192.168.1.103 )' 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.103' (RSA) to the list of known hosts.
Password:
When I did just enter, it again asked for Password. I enter root
password for that machine. Then I got like as below.
Password:
Permission denied (publickey,keyboard-interactive).
lost connection
I tried both as root and user from 192.168.1.102.  I did n't create
any account for me in 192.168.1.103. How should I proceed to succed in
this?
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


Reply to: