Possible Port Error with SFTP Connection
===

When trying to connect using sftp with key authentication, we are getting this error message.

    $  sftp client@hostname.net#2222
    Connecting to client@hostname.net#2222...
    ssh: client@hostname.net: Hostname and service name not provided or found
    Connection closed


Regarding the error message:  Hostname and service name not provided or found  

This mainly has to do with DNS being not set up properly..


We were able to successfully ping the hostname prior to adding the hostname to /etc/hosts & /etc/resolv.conf,  
so it must not really be a DNS issue.


Given this, we think it may be a port issue.  The host uses 2222 for SFTP.

Can you please advise on what we can do to get SFTP connectivity to this host?