scp connection refused

Marcelo Cavalcante kalibslack-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Dec 29 14:53:51 UTC 2009


Well done. ;]

Don't forget to configure your openssh server to improve the security.

Some basic stuffs like unable root login, etc..

Changing the default port would be a good option too.

cheers

---
-  °v°   Marcelo Cavalcante Rocha / Kalib
- /(_)\  ITIL V3 Foundation Certified | Certified Scrum Master
-  ^ ^   Usuário Linux #407564 / Usuário Asterisk #1148
- GNU-Linux - Livre, Poderoso e Seguro
- TUX-CE Member - www.tux-ce.org
- Archlinux-br Developer Team - http://archlinux-br.org
- KDE Brasil Member
- TLUG Member - Toronto Linux User Group
- http://www.marcelocavalcante.net


On Tue, Dec 29, 2009 at 11:38 AM, Rajinder Yadav <devguy.ca-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>wrote:

> Marcelo Cavalcante wrote:
>
>> Well...
>>
>> Firewall isn't the only possible problem.
>>
>> What do you wanna transfer by scp? Do you have permissions on the file(s)?
>>
>> Do you have permission on the remote machine?
>>
>> You said you got an "connection refused" error. So, are you sure the ssh
>> server is running on the remote machine?
>>
>> Try to connect by ssh: ssh user at romete-machine
>>
>> Or check with nmap if you can see the ssh service running on that machine:
>> # nmap -O remote-machine
>>
>> Check if the ssh port is open. You should get something like:
>>
>> 22/tcp open ssh
>>
>> Cheers
>>
>> ---
>> -  °v°   Marcelo Cavalcante Rocha / Kalib
>> - /(_)\  ITIL V3 Foundation Certified | Certified Scrum Master
>> -  ^ ^   Usuário Linux #407564 / Usuário Asterisk #1148
>> - GNU-Linux - Livre, Poderoso e Seguro
>> - TUX-CE Member - www.tux-ce.org <http://www.tux-ce.org>
>>
>> - Archlinux-br Developer Team - http://archlinux-br.org
>> - KDE Brasil Member
>> - TLUG Member - Toronto Linux User Group
>> - http://www.marcelocavalcante.net
>>
>>
>> On Tue, Dec 29, 2009 at 11:02 AM, Rajinder Yadav <devguy.ca <
>> http://devguy.ca>@gmail.com <http://gmail.com>> wrote:
>>
>>    I am trying to do a scp and I get a connect refused, as far as I
>>    know I don't have a firewall setup? how would I check. thanks!
>>
>
> Thanks! I didn't have the openssh server installed, after installing it I
> can now scp.
>
>
>
> --
> Kind Regards,
> Rajinder Yadav | http://DevMentor.org | Do Good! - Share Freely
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20091229/64570a8a/attachment.html>


More information about the Legacy mailing list