Using scp to transfer file to DSL computer


Forum: Networking
Topic: Using scp to transfer file to DSL computer
started by: lesliek

Posted by lesliek on April 04 2006,05:53
I have two computers connected via a network switch, one running Fedora Core 3 and the other DSL (v 2.2b).

I have been able transfer files from the DSL computer to the FC3 computer using scp, but I cannot transfer files in the opposite direction. I'm told the connection on port 22 is refused.

I thought it might have something to do with the firewall on the DSL computer (iptables.dsl plus rcfirewall.dsl), so I booted up without those, but still got the same result.

I'd be grateful for any advice as to how to get the transfer to work.

Posted by roberts on April 04 2006,08:32
Need to start SSH server.
DSLpanel->ssh server

Posted by lesliek on April 05 2006,05:18
Thanks very much for your reply, roberts.

After doing what you suggested, it seemed plain to me that I would now be able to transfer a file from the FC3 computer to the DSL computer using scp, if only I knew the default password of the user "dsl", for which I was prompted when setting up the transfer. I guessed it might be "dsl", but it wasn't that.

It seemed to me from reading threads in the forum that I could, as root, change dsl's default password to whatever I wanted, but I was afraid to do that, since I don't know enough to know whether doing it would cause some problem elsewhere on the system.

Thanks again,

Leslie

Posted by roberts on April 05 2006,15:44
Most definitely set passwords before opening ports and or starting such services. Recall, that you can boot with the secure boot option to be prompted to set passwords.
Posted by lesliek on April 07 2006,19:41
Thanks very much for the further advice, roberts, which I haven't had the opportunity to acknowledge before now. I'll definitely follow it.

Thanks again,

Leslie

PS While looking into passwords generally, I found a page called "Password Recovery Speeds, How long will your password stand up". I thought it was very interesting. The URL was www.lockdown.co.uk/?pg=combi&s=articles.

Posted by aveline on April 07 2006,20:29
Quote (lesliek @ April 07 2006,13:41)
Thanks very much for the further advice, roberts, which I haven't had the opportunity to acknowledge before now. I'll definitely follow it.

Thanks again,

Leslie

PS While looking into passwords generally, I found a page called "Password Recovery Speeds, How long will your password stand up". I thought it was very interesting. The URL was www.lockdown.co.uk/?pg=combi&s=articles.


URL no worky man :( but I found it anyway... thank you showing it to a girlfriend so she can understand why i tried to teach her to use more secure pwords.

Aveline

Posted by lesliek on April 08 2006,02:22
Apologies for the wrong URL, avellne, but glad you got it anyway. It did bring home to me, in a direct way that I hadn't ever concentrated on before, the practical differences between different types of passwords.

Apologies again,

Leslie

Posted by Neb on April 14 2006,03:07
I'm trying to use WinSCP to copy files to my DSL 2.3 lappy. I am prompted for a sesson userid and password. I did not set any password for users 'root' or 'dsl.' I opted to leave them blank during the install. However, I am prompted for a password in order to establish the SCP connection. Pressing 'enter' to leave it blank doesn't work.

Any ideas?

Posted by AwPhuch on April 14 2006,04:11
Quote (Neb @ April 13 2006,23:07)
I'm trying to use WinSCP to copy files to my DSL 2.3 lappy. I am prompted for a sesson userid and password. I did not set any password for users 'root' or 'dsl.' I opted to leave them blank during the install. However, I am prompted for a password in order to establish the SCP connection. Pressing 'enter' to leave it blank doesn't work.

Any ideas?

I guess you could open a shell

type sudo su
passwd root (new password)
passwd dsl (new password)

fire up sshd using the dsl panel

WinSCP away...

Brian
AwPhuch

Posted by Neb on April 14 2006,11:55
Can I automate this through bootlocal.sh?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.