<div>Well done. ;]</div><div><br></div><div>Don't forget to configure your openssh server to improve the security.</div><div><br></div><div>Some basic stuffs like unable root login, etc..</div><div><br></div><div>Changing the default port would be a good option too.</div>
<div><br></div><div>cheers</div><br clear="all">---<br>-  °v°   Marcelo Cavalcante Rocha / Kalib<br>- /(_)\  ITIL V3 Foundation Certified | Certified Scrum Master<br>-  ^ ^   Usuário Linux #407564 / Usuário Asterisk #1148<br>
- GNU-Linux - Livre, Poderoso e Seguro<br>- TUX-CE Member - <a href="http://www.tux-ce.org">www.tux-ce.org</a><br>- Archlinux-br Developer Team - <a href="http://archlinux-br.org">http://archlinux-br.org</a><br>- KDE Brasil Member<br>
- TLUG Member - Toronto Linux User Group<br>- <a href="http://www.marcelocavalcante.net">http://www.marcelocavalcante.net</a><br>
<br><br><div class="gmail_quote">On Tue, Dec 29, 2009 at 11:38 AM, Rajinder Yadav <span dir="ltr"><<a href="http://devguy.ca">devguy.ca</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Marcelo Cavalcante wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Well...<br>
<br>
Firewall isn't the only possible problem.<br>
<br>
What do you wanna transfer by scp? Do you have permissions on the file(s)?<br>
<br>
Do you have permission on the remote machine?<br>
<br>
You said you got an "connection refused" error. So, are you sure the ssh server is running on the remote machine?<br>
<br>
Try to connect by ssh: ssh user@romete-machine<br>
<br>
Or check with nmap if you can see the ssh service running on that machine: # nmap -O remote-machine<br>
<br>
Check if the ssh port is open. You should get something like:<br>
<br>
22/tcp open ssh<br>
<br>
Cheers<br>
<br>
---<br>
-  °v°   Marcelo Cavalcante Rocha / Kalib<br>
- /(_)\  ITIL V3 Foundation Certified | Certified Scrum Master<br>
-  ^ ^   Usuário Linux #407564 / Usuário Asterisk #1148<br>
- GNU-Linux - Livre, Poderoso e Seguro<br></div>
- TUX-CE Member - <a href="http://www.tux-ce.org" target="_blank">www.tux-ce.org</a> <<a href="http://www.tux-ce.org" target="_blank">http://www.tux-ce.org</a>><div class="im"><br>
- Archlinux-br Developer Team - <a href="http://archlinux-br.org" target="_blank">http://archlinux-br.org</a><br>
- KDE Brasil Member<br>
- TLUG Member - Toronto Linux User Group<br>
- <a href="http://www.marcelocavalcante.net" target="_blank">http://www.marcelocavalcante.net</a><br>
<br>
<br></div><div class="im">
On Tue, Dec 29, 2009 at 11:02 AM, Rajinder Yadav <<a href="http://devguy.ca" target="_blank">devguy.ca</a> <<a href="http://devguy.ca" target="_blank">http://devguy.ca</a>>@<a href="http://gmail.com" target="_blank">gmail.com</a> <<a href="http://gmail.com" target="_blank">http://gmail.com</a>>> wrote:<br>

<br>
    I am trying to do a scp and I get a connect refused, as far as I<br>
    know I don't have a firewall setup? how would I check. thanks!<br>
</div></blockquote>
<br>
Thanks! I didn't have the openssh server installed, after installing it I can now scp.<div><div></div><div class="h5"><br>
<br>
<br>
-- <br>
Kind Regards,<br>
Rajinder Yadav | <a href="http://DevMentor.org" target="_blank">http://DevMentor.org</a> | Do Good! - Share Freely<br>
--<br>
The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
</div></div></blockquote></div><br>