scp - connection refused

Matthew Flaschen matthew.flaschen at gatech.edu
Tue Mar 27 04:57:13 UTC 2007


Kevin Kempter wrote:
> On Monday 26 March 2007 22:22, Matthew Flaschen wrote:
>> Kevin Kempter wrote:
>>> Hi List;
>>>
>>> I have 2 laptops both running Kubuntu Dapper. I tried to scp a file from
>>> one laptop to the pother tonite via:
>>>
>>> "scp 192.168.1.4:/home/user1/file1.doc ."
>>>
>>> but I get this:
>>> ssh: connect to host 192.168.1.4 port 22: Connection refused
>>> lost connection
>>>
>>> The same result if I try to scp the other way...
>>>
>>> How can I enable/allow scp?
>> I believe you simply have to install the ssh daemon on the one you want
>> to download files from (probably both in your case).
>>
>> sudo apt-get install ssh
>>
>> Matt Flaschen
> 
> I do have ssh installed. I can scp from our main servers at work but cannot 
> scp to this box. Maybe there's a config setting somewhere?

What do you mean you can "scp from our main servers at work"?  Which
computer are you downloading files /from/?  Ubuntu comes with the ssh
client software, but if you want it to act as an ssh server (for example
to allow clients to initiate downloads from an Ubuntu machine), you must
install ssh server software with the command above.

Matt Flaschen




More information about the kubuntu-users mailing list