scp connection refused

Christopher Browne cbbrowne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Dec 29 14:31:36 UTC 2009


On Tue, Dec 29, 2009 at 9:02 AM, Rajinder Yadav <devguy.ca-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> 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!

Several things could break, such as:
- Yeah, firewall
- Wrong IP address
- Wrong port
- sshd not configured or running
- sshd refusing authentication method

You'll surely get more information by using "scp -v" which causes ssh
to print debugging messages.  That should be key to figuring things
out.

You might start by trying to just ssh into the host; that eliminates a
lot of possible issues/failure cases, and lets you concentrate on
addressing "connection refused."
-- 
http://linuxfinances.info/info/linuxdistributions.html
Stephen Leacock  - "I detest life-insurance agents: they always argue
that I shall some day die, which is not so." -
http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html
--
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





More information about the Legacy mailing list