Connection refused when using sftp

From: Imraan (iqureshi7@hotmail.com)
Date: 02/06/03


From: iqureshi7@hotmail.com (Imraan)
Date: 6 Feb 2003 06:39:31 -0800

I am using winssh 3 server on windows 2000 server. I can sucessfully
ssh and sftp via putty. When I used my linux box i can ssh to it fine.
However when I do sftp I get connection refused. Exact error i get is
below. Below that is my ssh_config file. Other people outside of
company have tried to sftp to that server with same results. I have
examined my firewall logs and do not see any packet being blocked on
port 22. Can anyone give me some insight as to what the problem might
be?

Thanks alot for your help in advance.

Imraan

sftp -v prod\\abc11@116.74.150.72
> Connecting to 116.74.150.72...
> OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Rhosts Authentication disabled, originating port will not be
> trusted.
> debug1: ssh_connect: needpriv 0
> debug1: Connecting to 116.74.150.72 [116.74.150.72] port 22.
> ssh: connect to address 116.74.150.72 port 22: Connection refused
> Couldn't read packet: Connection reset by peer
> ROOT_web:/opt/util{114}>sftp -v HYPERLINK
> "mailto:any@116.74.150.72"any@116.74.150.72 Connecting to
> 116.74.150.72... OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL
> 0x0090600f
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Rhosts Authentication disabled, originating port will not be
> trusted.
> debug1: ssh_connect: needpriv 0
> debug1: Connecting to 116.74.150.72 [116.74.150.72] port 22.
> ssh: connect to address 116.74.150.72 port 22: Connection refused
> Couldn't read packet: Connection reset by peer
>

 Site-wide defaults for various options

# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsAuthentication yes
# RhostsRSAAuthentication yes
# RSAAuthentication yes
# PasswordAuthentication yes
# BatchMode no
# CheckHostIP yes
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
Host *



Relevant Pages

  • Re: ipfw and nmap
    ... > even be correct but I have a bsd box that is simply providing me SSH ... add allow tcp from any to me 22 setup in via fxp0 keep-state ... Note too that there is nothing to prevent port scanners simply setting ... the 'SYN' flag in the probe packets they send to your server. ...
    (freebsd-questions)
  • Re: Remote Desktop directly to another computer on the network
    ... default port... ... And there is no reason for me to believe that ssh ... When I have a multibillion company I will use the key pair, ... WinSCP for that to access my home SSH server. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: need help for setting SSH Server for Windows XP
    ... In my windows firewall proper ports are opened. ... Changing from port 22 to ports 80, 443 also doesn't give any results. ... static LAN IP of the server PC. ... It is *NOT* a valid test to call the SSH server PC from another ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Port Forwarding -- Checking to be sure I understand it
    ... They run an ssh ... server and VNC service. ... If you want to run the tunnel over some port other than 22 (the ... restrictive firewalls that deny all incoming connections and block most ...
    (comp.security.ssh)
  • Re: Which shell / terminaltype for SSH Tectia for Windows?
    ... My remote Windows2003 server runs SSH Tectia 4.05 Server. ... That's the SMTP port, for email, not the port for SSH. ... the output from vim is not shown to me, ...
    (comp.security.ssh)