Can not connect to a remote SSH server with my mac

Ok have tried 4 different applications, fetch , captain ftp, terminal, etc.
I am trying and connect to a friends ssh server to upload some file logs. I have the correct login/password, have tried both protocol 1 and 2. Port 22 is correct. I keep getting the error message
User logging error - captain ftp
SFTP connection to ..... could not be opened becasue the connection to the SFTP server could not be established or was lost - Fetch
sshexchangeidentification: Connection closed by remote host - Ternminal
We have tested it using Telnet and other programs on a PC and all is well.
When i try and connect he receives the message
Refused connect from cpe-"ip address"(ip address)
policy: HostKey/etc/ssh/sshhost_rsakey
Do i have a setting somewhere i am missing.

1st, is the server behind a home router? Has port 22 been "Port Forwarded" from the internet side to the server's side of the router?
2nd, from a Terminal session use the command:
ssh -v -v -v [email protected]
The -v -v -v triplets will give you a wealth of ssh connection information. If you read through this carefully you may find the root cause of your problems (assuming the 1st step above doesn't yield results).
Another thing to consider, is that ssh will not make a connection to an account that it does not consider to be reasonably secure. This means that the home directory of the account and specific key subdirectories must have proper ownership and permissions, or ssh will not connect. The specific ownership and permissions needed and the files and directories checked are spelled out in the ssh man page
man ssh

Similar Messages

  • How do I figure out if I have usb 3.0?  I am trying to buy compatible external hard drive (western digital my passport for mac) and I can not figure out if it will work with my mac book.

    how do I figure out if I have usb 3.0?  I am trying to buy compatible external hard drive (western digital my passport for mac) and I can not figure out if it will work with my mac book.

    Dont buy a Western Digital, get a Hitachi or Seagate (Toshiba is made by Hitachi). These are the most reliable, and the HD used inside Macs.
    ALL HD can be made compatible with your MAC (including a WD if you already bought same), ......they just need to be formatted for the Mac platform, format them in Disk Utility as Mac OSX extended journaled. 

  • Drive 2.1 can not connect to our cs3 versioncue server what do I need to use our projects in CS5?

    Mac XServe is our CS3 server. Trying to upgrade to CS5 and found out Version Cue is no longer. Read and found the Drive 2.0. It can't seem to connect to my current server. We still have access with one of our CS3 machines. Is there a program I need to get to continue on with our versioning and the ability to use our projects we have? Or do I need to go into every project and export or something to be able to start using CS5? Thank you in advance for any help!!!

    sunnovagun!
    Hitting the Log Out button in the MobileMe panel worked. I can now connect to both the SnowLeopard and Lion servers just like I used to.
    My condition appears to have been slightly different from yours, gmia - the MobileMe on my MBP had the correct info, but hose are not the credentials i use to remote to the two servers. I'm guessing that for some reason ScreenSharing began using my MobileMe credentials instead of what I had saved in the keychains.
    Wonder if it had anything to do with the shutdown of the MM servers. That would be odd as using ones apple ID to log into a Mac remotely was new with Lion, and I had the same problem with our SnowLeopard server - which I remote into much more frequently.
    Probably didn't hurt though to reboot the entire network...

  • Suddenly can not connect to our Acitive Directory server.

    ColdFusion code that was running fine this last Friday, for nearly two
    years before then, is suddenly throwing this error today "Connection to
    LDAP server failed".  The Active Directory is up and responding to pings
    and all normal windows logons are being preformed properly.  But neither
    ColdFusion nor my Softerra LDAP Browser can make a connection with
    multiple user names.
    Can anybody provide a short list of what could have been changed that
    would of started this problem?

    The server was not responding to anything, accept pings, as best as we could tell.
    Since this was affecting production applications, preventing empoyees from duing their work, the box was booted.  The sys admin had to physically walk up to the server room as he could not even remote into the system.
    I am now told that there are three active directory servers sharing the load in our organization.  I'm guessing it is possible that the windows login operations where failing over to another of the trio.  But that the CFML code, that is hard coded to a specific one of the AD servers, could not do this.
    If this is a common set up, I have to research the details more, is there some way to tell ColdFusion to make to a connection to any of the three AD servers, whichever one is availaible.  Or do I need to create my own fail over code using try-catch blocks, or some other exception handling choice.  Basically code it to try server A, if that does not work, try server B, if still a problem try server C.
    That later is not hard code to visualize, but it seems to be very dependant on the exact network configuration.  Whereas, if there was some way to query all the available AD servers as a clustor, then I presume the network folks could swap servers into and out of the clustor without really affecting our code.  That would by my hope anyway.

  • ITunes can not connect to the apple software server says I am not connected to the internet and I am :(

    Apple software server says I am not conneted to the internet and I am. I need to update software on my iTouch.

    1.Power Cycle
       Power off the router. Unplug it from the wall. Wait a while.
       Plug it back to the wall. Power the router on. Wait until all the lights are lit properly.
       It will take a while.
      Restart the computer.
      Start up in Safe Mode.
       http://support.apple.com/kb/PH11212?viewlocale=en_US
    2.  Turn off Extensions, if any.
         Safari > Preferences > Extensions
    3. Turn off proxies, if selected.
         System Preference > Network > Advanced  > Proxies Tab
         Under "Select Protocol", uncheck any box if selected.
         Click "OK" then  "Apply"
    4. Uninstall anti-virus software, if any.
    5. A new Mac comes with 90 days of free tech support from AppleCare.
        AppleCare: 1-800-275-2273

  • I can not connect my samsung tab s tablet with ADE on my computer with a usb cable(.No connextion)

    I have a new Samsung Tablet TAB S. I want E-books that i store on my computer in Adobe Digital Edition transport
    to my samsung tablet to( Play Books App) if i connect a usb cable nothing hapens. If i connect my old tablet then there
    come a connection symbol on my computer in ADE. Who can help me ?

    Try going to system preferences>displays with evrything connected. You should see 2 windows "stacked" click detect display, then click the window in the back and it should show your monitor. Click mirror display.

  • Can not connect to home wifi on iPhone with iOS 6.0.1

    Tried several different suggested fixes.  Should I go to Apple store next?

    http://support.apple.com/kb/TS1559

  • Can not connect to Cerberus FTP Server with PASV

    I setup a FTP Server and i can connect from the inside fine but from the outside i can not connect in passive mode. I can in regular ftp or ssh.
    Here is the log from filezilla
    Status:          Resolving address of domain.com
    Status:          Connecting to ExternalIP:990...
    Status:          Connection established, initializing TLS...
    Status:          Verifying certificate...
    Status:          TLS/SSL connection established, waiting for welcome message...
    Response:          220-220-Welcome to Cerberus FTP Server
    Response:          220 220 Created by Cerberus, LLC
    Command:          USER test
    Response:          331 User test, password please
    Command:          PASS ***********
    Response:          230 Password Ok, User logged in
    Command:          CLNT FileZilla
    Response:          200 Command okay
    Command:          OPTS UTF8 ON
    Response:          220 UTF8 support on
    Command:          PBSZ 0
    Response:          200 PBSZ=0
    Command:          PROT P
    Response:          200 PROT P OK, data channel will be secured
    Status:          Connected
    Status:          Retrieving directory listing...
    Command:          PWD
    Response:          257 "/" is the current directory
    Command:          TYPE I
    Response:          200 Type Binary
    Command:          PASV
    Response:          227 Entering Passive Mode (external IP,195,83)
    Command:          MLSD
    Error:          Connection timed out
    Error:          Failed to retrieve directory listing
    Result of the command: "show running-config"
    : Saved
    ASA Version 8.0(4)
    interface Vlan1
    nameif inside
    security-level 100
    ip address 192.168.10.10 255.255.255.0
    interface Vlan2
    nameif outside
    security-level 0
    pppoe client vpdn group att
    ip address pppoe setroute
    interface Ethernet0/0
    switchport access vlan 2
    interface Ethernet0/1
    interface Ethernet0/2
    interface Ethernet0/3
    interface Ethernet0/4
    interface Ethernet0/5
    interface Ethernet0/6
    interface Ethernet0/7
    ftp mode passive
    clock timezone CST -6
    clock summer-time CDT recurring
    object-group service RDP tcp
    description RDP
    port-object eq 3389
    object-group service FTP_PASV_Ports tcp
    description Passive Ports
    port-object range 35000 35999
    object-group service FTPS tcp
    description FTPS
    port-object eq 990
    access-list outside_access_in extended permit tcp any any object-group RDP
    access-list outside_access_in extended permit icmp any any
    access-list outside_access_in extended permit tcp any any eq ftp
    access-list outside_access_in extended permit tcp any any eq telnet
    access-list outside_access_in extended permit tcp any any eq smtp
    access-list outside_access_in extended permit tcp any any eq www
    access-list outside_access_in extended permit tcp any any eq pop3
    access-list outside_access_in extended permit tcp any any eq https
    access-list outside_access_in remark passive FTP port range
    access-list outside_access_in extended permit tcp any host server object-group FTP_PASV_Ports
    access-list outside_access_in extended permit tcp any any eq ssh
    access-list outside_access_in extended permit tcp any any object-group FTPS
    access-list outside_access_in extended permit tcp any any eq ftp-data
    pager lines 24
    logging enable
    logging asdm informational
    mtu inside 1500
    mtu outside 1492
    icmp unreachable rate-limit 1 burst-size 1
    asdm image disk0:/asdm-621.bin
    no asdm history enable
    arp timeout 14400
    global (outside) 1 interface
    nat (inside) 1 0.0.0.0 0.0.0.0
    static (inside,outside) tcp interface www server www netmask 255.255.255.255
    static (inside,outside) tcp interface https server https netmask 255.255.255.255
    static (inside,outside) tcp interface smtp server smtp netmask 255.255.255.255
    static (inside,outside) tcp interface 3389 server 3389 netmask 255.255.255.255
    static (inside,outside) tcp interface pop3 server pop3 netmask 255.255.255.255
    static (inside,outside) tcp interface ftp server ftp netmask 255.255.255.255
    static (inside,outside) tcp interface ssh server ssh netmask 255.255.255.255
    static (inside,outside) tcp interface 990 server 990 netmask 255.255.255.255
    static (inside,outside) tcp interface ftp-data server ftp-data netmask 255.255.255.255
    access-group outside_access_in in interface outside
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    dynamic-access-policy-record DfltAccessPolicy
    http server enable
    http 192.168.10.0 255.255.255.0 inside
    no snmp-server location
    no snmp-server contact
    snmp-server enable traps snmp authentication linkup linkdown coldstart
    crypto ipsec security-association lifetime seconds 28800
    crypto ipsec security-association lifetime kilobytes 4608000
    telnet 0.0.0.0 0.0.0.0 inside
    telnet timeout 5
    ssh 192.168.10.0 255.255.255.0 inside
    ssh timeout 5
    console timeout 0
    vpdn group att request dialout pppoe
    vpdn group att localname @static.sbcglobal.net
    vpdn group att ppp authentication pap
    vpdn username @static.sbcglobal.net password *********
    dhcpd auto_config outside
    threat-detection basic-threat
    threat-detection statistics access-list
    no threat-detection statistics tcp-intercept
    username admin password rcuFiQnIXLd encrypted privilege 15
    class-map inspection_default
    match default-inspection-traffic
    policy-map type inspect dns preset_dns_map
    parameters
      message-length maximum 512
    policy-map global_policy
    class inspection_default
      inspect dns preset_dns_map
      inspect h323 h225
      inspect h323 ras
      inspect rsh
      inspect rtsp
      inspect esmtp
      inspect sqlnet
      inspect skinny 
      inspect sunrpc
      inspect xdmcp
      inspect sip 
      inspect netbios
      inspect tftp
      inspect ftp
    service-policy global_policy global
    prompt hostname context
    Cryptochecksum:ecb5356a2f5e680b
    : end
    I am programing the router with ASDM so if you could tell me what i need to do from the GUI to fix this.

    Dan,
    Looking at the output,
    Status:          Resolving address of domain.com
    Status:          Connecting to ExternalIP:990...
    Status:          Connection established, initializing TLS...
    Status:          Verifying certificate...
    Status:          TLS/SSL connection established, waiting for welcome message...
    This looks like FTPS which is not supported on the ASA. You can workaround it by trying to connect using Active mode from the outside instead of PSV.
    You can find more info here:
    https://supportforums.cisco.com/docs/DOC-23206
    Mike

  • Client can not connect to Server installed window server 2008 and using 8.8

    HI all!
    I have a problem when Client  log in to server that installed window server 2008.It can not connect to this server even when restart and key in IP or Server name,...
    I try disable Firewall of window 2008 in server machine and client can connect to server. But when i disable firewall, it's mean  i can not use Remote desktop or terminal service..
    Now, how i can do in order to solve this problem.
    Thanks!

    Hi,
    Take a look at the admin guide (Page 75, 119, 159):
    [http://service.sap.com/~sapidb/011000358700000150922010E.zip]
    If you installed a firewall on the license service computer, make sure that the firewall is not set to port 30000; otherwise, the license service cannot work.
    If you are using Port X, make sure that you open Port X and Port (X+1) in the firewall. For example, if you are using port 10000, make sure to also open port 10001.
    The default communication port is 1143.
    The default port of the SAP Business One license server is 30000 for license communication and 30001 for the license naming service

  • Just got Mac book pro. I can't connect to office remotely thru the remote window. My office is window based and I have no problem connecting while at the office thru the server but cannot at home. Any help would be appreciated!

    Just got Mac book pro. I can't connect to office remotely thru the remote window. My office is window based and I have no problem connecting while at the office thru the server but cannot at home. Any help would be appreciated!

    This what my IT replied with:
    That teh MacBook cannot connect with RWW because it requires Active-X to connect.  That MAc browsers (Safari) do not use Active-X but only Windows (IE) uses Active-X control.
    It would seem to me that there must be a way around this. Any help?
    Thanks,

  • I am trying to turn on iCloud, I get a message "can not connect to server". How do I connect to server?

    I can't get iCloud to turn on. When I try to start it I gat a message "can not connect to server". How do I start the cloud?

    So what model and year is your machine?
    Here are the requirements for ML:
    http://www.apple.com/osx/specs/

  • HT201263 the itunes tales me that can not connect to update server, i tried to connect my i pad ever ting is ok to the ipad but my iphone stop working after update and i tried all solutu=ion suggested on the internet please i need help

    after i update the iphone 4s to ios 6.1.1 my i phone stop responding and a message appear tell to connect to i tune i did all the solution and put my iphone in dfu mode and nothing happen my i phone is gone no solution and a message appear tells that can not connect to update server but my ipad work at the same pc the problem in the i phone, plz some help

    Was thje TM backup 10.6 also?
    I never use TM for Backups, far better less painful backup methods, but...
    Have you looked through Pondini's extensive TM help site?
    http://Pondini.org/TM/FAQ.html
    http://pondini.org/TM/Troubleshooting.html
    Can't imagine something not being covered there.

  • Database error #2002 can not connect local mysql server to socket through '/var/run/mysqld/mysqld.sock'(2) on mac os x 10.9.2

    Dear Fellas:
    I received "database error #2002 can not connect local mysql server to socket through '/var/run/mysqld/mysqld.sock'(2)" on mac os x 10.9.2.
    mysql info:
    ps -ef | grep mysql
        0    66     1   0 11:06AM ??         0:00.04 /bin/sh /usr/local/mysql/bin/mysqld_safe --user=mysql
       74   225    66   0 11:06AM ??         0:02.50 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/Chuans-MacBook-Pro-2.local.err --pid-file=/usr/local/mysql/data/Chuans-MacBook-Pro-2.local.pid --socket=/var/run/mysqld/mysqld.sock
      501   952   947   0  3:52PM ttys000    0:00.00 grep mysql
    Please help!!

    Fascinated and guessing:
    Something related to sock(2) because that's not part of your copied info. I'm thinking you've doubled up on sockets and the second socket doesn't exist, meaning you should be connecting to the first socket "mysqld.sock" whether automatic or not.
    I've only used GUI tools on purpose, so does this mean you've already got MySQL running and you tried to launch it again manually? Perhaps you already have one instance of a db and you're trying to launch a second instance, and the two can't coexist with a single user local db?
    Assuming this is all local, I'd shut down the db service and restart it, out of hand. I've seen similar messages when I set the db to start up on boot, and it didn't finish shutting down when I tried to restart it manually. Usually the GUI won't let me turn it on because it reports it's already running, but in that case it hadn't finished performing what the GUI was reporting.
    Just speculating.

  • Can not connect the database via query string (C#). The SQL Server Management Studio is showing the full path of a location instead of database name.

    I can not connect to the database via C#. The database is showing full path of the database file instead of the database name. See the pic: a database showing only name 'emart' and the other database showing the full path.
    : Robby

    Hi,
    According to your post, I know that the database name is showing file path of the database rather than the database name in SQL Server Management Studio. You were not able to
    establish a connection to the database using C#.
    As Olaf said, was any error message thrown out when the connection failed? How did you create these databases?
    You can use the following T-SQL to attach the database and see if the issue persists.
    CREATE DATABASE
    databasename
        ON (FILENAME = 'filepath _Data.mdf'),
        (FILENAME = 'filepath_Log.ldf')
    FOR ATTACH;
    Thanks.
    Tracy Cai
    TechNet Community Support

  • I downloaded Lion OSX and at the end I received a notice that Safari can not connect to Server. All internet connections work including Safari on other user on same computer. I downloaded 13items and installed only 12. What do I do now ?

    I dowloaded Lion OSX and installed. I downloaded 13 iitems and installed only 12. At the end of the insta;;ation I received a notice thst Safart can not connect to Server. Safari does not work on user where installation was made. It work on other user. All internet connections work including google. If I go into Safari the blue line goes up to end of "http" on adress and freezes. Where do I go from here.:::???

    Hi There Linc Davis,
    Wow, you are the best.
    Yip this is what the website looks like. Great job Linc Davis.
    Not surprised that the "Shop" tab is missing. Darn.
    Well can you try to access it's "sister" website: astralmusic.com and astralmusicshop.com?
    Since you are awesome with the "Flash" can you investigate if this website has a issue withis this "Flash" too?
    Please Linc Davis

Maybe you are looking for

  • How to add a custom web project to creator?

    I am using Creator EA2. I want to add a custom web project, which is created based on standard web project, to Creator. I wonder if it is possible by creating a jar and put it into a directory or I should develop a plugin with layout description file

  • Problem in RFC for CCAP_REV_LEVEL_MAINTAIN

    Hi, I am a BizTalk developer and my requirement is to update the Rev Lev of a material in SAP. My basic findings told me to use the BAPI: CCAP_REV_LEVEL_MAINTAIN. But when I'm trying make an RFC on CCAP_REV_LEVEL_MAINTAIN I'm getting the following er

  • HELP! I have just changed my email address ad now i cant sync my ipod with the new songs I have bought

    when I changed my e-mail address and got a new computer so I have downloaded iTunes and it recognizes my iPod but when I have bought 3 new songs it wouldn't let me sync the songs onto my iPod. Have tried clicking 'transfer songs' but it wont work. I

  • Transferring Videos

    can anyone please help me. I am having trouble putting video files onto my ipod, I have tried videora to convert the files to mp4 but it still wont let me drag them into itunes..Please Help??????Can mpeg files be converted to mp4?

  • ActiveSync Quarantine Administrator Email Changed - No ECP Link

    For some reason the emails generated by the Exchange 2010 servers when a mobile device is quarantined have changed. We now no longer have the clickable link to open the device within the ECP. Old Email The Exchange ActiveSync service has quarantined