Getting ssh_exchane_identity error when trying to login from my machine or a remote one. Already enabled remote login

I updated my system from Snow Leopard to Lion 7.3.1
Wanted to login from remote computer and then enabled the remote login in Preferences/Sharing, but when trying to login I get the error ssh_exchange_identification also if I try to login from my machine with ssh username@localhost.
I tried all what I could find on internet forums, but nothing changed.
Please help!!
Daniela

Hi Linc
here is the output of ssh -vvv localhost
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [::1] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /Users/danielamaurizio/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /Users/danielamaurizio/.ssh/id_rsa type 1
debug1: identity file /Users/danielamaurizio/.ssh/id_rsa-cert type -1
debug1: identity file /Users/danielamaurizio/.ssh/id_dsa type -1
debug1: identity file /Users/danielamaurizio/.ssh/id_dsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
[1]+  Done                    edit sshd_config
The following line comes from /var/log/secure.log
May 23 04:59:46 <danielamaurizio> sshd[2267]: fatal: /var/empty must be owned by root and not group or world-writable.
but I'm not sure if it's want you asked me; the owner of /var/empty is root of group sys.
By the way I had a problem that Lion cancelled the owner root and I had to use System Preferences User and groups to add root again, with the result that now I can use only the comman "su root" and not "sudo anycommand"  anymore.
Thanks for halp and cheers
daniela

Similar Messages

  • Why am i getting an error when trying to upgrade from 10.7.5 to 10.9

    when i try and upgrade from 10.7.5 osx lion to 10.9 i get an error, i have 2GB of memory and 144MB of storage. can someone help?

    This would indicate that your MacBook Air does not meet the requirements for Mavericks.
    To install Mavericks, you need one of these Macs:
    iMac (Mid-2007 or later)
    MacBook (13-inch Aluminum, Late 2008), (13-inch, Early 2009 or later)
    MacBook Pro (13-inch, Mid-2009 or later),
    MacBook Pro (15-inch or 17-inch, Mid/Late 2007 or later)
    MacBook Air (Late 2008 or later)
    Mac mini (Early 2009 or later)
    Mac Pro (Early 2008 or later)
    Xserve (Early 2009)
    Your Mac also needs:
    OS X Mountain Lion, Lion, or Snow Leopard v10.6.8 already installed
    2 GB or more of memory
    8 GB or more of available space

  • TS1470 i keep getting -23 error when trying to download from my iphone4

    keep trying to upgrade my iphone 4 after sync.  keep getting -23 error. whats next?

    does it says anything else than unknow error?
    try going to settings>store, click on apple id and then sign out. Restart iphone and sign back in and try downloading again

  • I keep getting an error when trying to blend photos in Enfuse.  The first one was when I had auto align checked so I unchecked it but now I am getting an error when trying to run Enfuse.  Any ideas?

    Sorry for the long title.  Here are the errors I am getting.  Any ideas?

    You are selecting the images from the Previous Import collection, go to the folder where the images are contained, e.g. probably in Associate Laptop in your case because all the other entries in Folders have ? which means they aren't there.
    After going to the folder (you can also right-click on one image and select 'Go to Folder in Library' if you don't know where it is) then select the images again and LR/Enfuse will process them BUT not from the 'Previous Import' collection.

  • I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work)

    I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work) since I use iCloud and I tunes match

    YAY!!! Saved it in my Mac's Firefox Bookmarks for easy future access!
    Hope you are having a lovely afternoon today! I'm about ready to go bobo....I have an early meeting, and I don't want to oversleep! The nice part is that I work remotely, so I only have to wake up 15 minutes or so before the meeting.... I don't even use an alarm clock anymore (really, my iPhone alarm, which is much more pleasant), unless I have to get up at 6:30 or something....
    TMI?
    GB

  • TS3274 I keep getting an error when trying to download a tv series right on my iPad from the iTunes store. I am able to download on my laptop then synchronize but it's a hassle specially if my laptop is not with me. All other Apps seem to be working fine.

    I keep getting an error when trying to download a tv series right on my iPad from the iTunes store. I am able to download on my laptop then synchronize but it's a hassle specially if my laptop is not with me. All other Apps seem to be working fine. Help!

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • Lost all photos on my iPhoto and get the ERROR WRITING TO DISK when trying to reload from Time Machine. iPhoto cannot import your photos because there was a problem writing to the volume containing your iPHOTO LIBRARY  . Looking for solution.

    Lost all photos on my iPhoto and get the ERROR WRITING TO DISK when trying to reload from Time Machine. iPhoto cannot import your photos because there was a problem writing to the volume containing your iPHOTO LIBRARY  . Looking for solution.

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.
    First, empty the Trash, if possible.
    Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) 2>&- | wc -l | pbcopy
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign ($) to appear.
    The output of the command will be a number. It's automatically copied to the Clipboard. Please paste it into a reply.
    The Terminal window doesn't show the output. Please don't copy anything from there.

  • More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library.

    I am able to pick 4 videos from the Photo library in my iPhoneAPP but when i try to pick 5th one it throws an error:
    "More than maximum 5 filtered album lists trying to register. This will fail,Why i am getting this error when i pick video from Photo library."

    Hello Tate r Bulic
    I don't have any idea how to remove this error,can i pick more than 5 videos from the photo library...
    If it's then please help me and gimme idea..Thanks

  • I have upgraded all apps from CS5 to CC - but keep getting U43M1D207 error when trying to upgrade Illustrator. Tried twice. Help!

    I have upgraded all apps from CS5 to CC - but keep getting U43M1D207 error when trying to upgrade Illustrator. Tried twice. Help!

    You can also use Download New Adobe CC Trials: Direct Links (no Assistant/Manager) | ProDesignTools
    Direct Download Links for Adobe Software
    Are you on a managed network. If yes please refer the Knowledge base article: http://helpx.adobe.com/creative-cloud/help/cc-desktop-download-error.html.
    You may even try the direct download: http://prodesigntools.com/adobe-cc-direct-download-links.html.
    Kindly follow the very important instructions before download.
    It might help you.
    Regards
    Rajshree

  • Keep getting 5002 Error when trying to Sign In

    Hello,
    I created a new @me.com address today for a seperate Apple ID account.  I am needing to sign into the iTunes Store, but I keep getting a response that says:
    "We could not complete your iTunes Store request. An unknown error occurred (5002)."
    Any ideas as to what's going on here?
    I also took a screen cap of the issue:
    Thank you for the help!
    Marcus

    Thank you for your response Carolyn; however, that article does not fix my problem.  I am getting this error when trying to sign into the iTunes Store on my Mac.
    I get the same problem when signing into the Store on the iPad or iPhone.  I simply can't log in, but when I go to iCloud.com or the Apple ID login on Apple.com, it works.
    Marcus

  • HT204406 hi!!!! I keep getting an "error" when trying to activate my iTunes match. I get to the 1st step, then it gets stopped, and I get the error message. HELP!!!!!!

    hi!!!! I keep getting an "error" when trying to activate my iTunes match. I get to the 1st step, then it gets stopped, and I get the error message. HELP!!!!!!

    That's definitely enough to start.
    It sure seems like it should work...and then I saw that you're using a router. It could very well be that the router is the weak link here.
    Instead connecting to your network router, try using a direct USB connection from your MBP. If that doesn't work, you read this post, which may be relevant to your problem:
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/Scanning-from-Mac-10-7-fa ils-after-all-recommendations-Not-ready/td-p/1287003
    It seems you're up to date with software. Post with your results.

  • I keep getting this error when trying to backup time capsule with time machine. The backup disk image "/Volumes/Data-1/Dan's iMac.sparsebundle" is already in use.

    I keep getting this error when trying to backup time capsule with time machine. The backup disk image “/Volumes/Data-1/Dan’s iMac.sparsebundle” is already in use.

    Make sure that no other Macs are backing up at the time.
    Pull the power cable from the back of the Time Capsule
    Count to ten
    Plug the power cable back into the back of the Tme Capsule
    Wait a few minutes, then try a backup again.

  • I get this error when trying to create a ringtone - iTunes could not connec

    I get this error when trying to create a ringtone:
    "iTunes could not connect to the iTunes Store - an unknown error occurred (11556)"
    But I CAN connect - if I click on the iTunes Store, it connects right away.
    I want to make a ringtone from a song that I purchased, but all I get is the same error message.
    iTunes 9.2.2, Ireland iTunes Store.

    have you seen this KB article: http://support.apple.com/kb/HT1398 ?
    JGG

  • Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    I may have already resolved this issue buy removing the device from my computer and re-pairing it. It is currently working just fine.

  • I've started getting an error when trying to transfer purchased videos to iPhone.

    I've started getting an error when trying to transfer purchased videos to my iPhone.
    I get an error saying that selected videos will not play on the iPhone. They were purchased from iTunes and have been played on the phone previously.
    So far I've only noticed it on SD/HD videos, but not all SD/HD videos. Not had an issue yet with the judt SD files.
    Anyone else encountered this?
    Ta

    YAY!!! Saved it in my Mac's Firefox Bookmarks for easy future access!
    Hope you are having a lovely afternoon today! I'm about ready to go bobo....I have an early meeting, and I don't want to oversleep! The nice part is that I work remotely, so I only have to wake up 15 minutes or so before the meeting.... I don't even use an alarm clock anymore (really, my iPhone alarm, which is much more pleasant), unless I have to get up at 6:30 or something....
    TMI?
    GB

Maybe you are looking for

  • My mpeg-4 looks like crap

    i was uploading to vimeo, exporting from a final cut pro hd 4.5 file using quicktime 7.6.6 conversion, here's the link to the settings i used: http://vimeo.com/help/compression any advice would be much appreciated!

  • 2 ADC LCD monitors don't allow airport

    I have a single processor G5 with no PCI cards in it. I have 2 ADC LCD monitors hooked up to the one video card that came with the G5. It is a Nvidia GeForce 5200. One LCD is 17" and one is 22". I have to "unplug" the little LCD so that my airport wi

  • Scsi to Firewire adapter

    I want to use my old microteck scanner with my iMac but since my scanner uses a scsi, I would need an adpapter. Couple of questions: 1. Should I get a scsi to Firewire or scsi to USB? Which is faster (I'm guessing firewire but not sure) 2. Where can

  • Dynamic Web Interfaces XMLHttpRequest

    hi all I wanted to say - I found the XMLHttpRequest and the bus. users love it as pages refresh faster . Using it a lot where data in fields ahead depend on choices made earlier in the page ( like when user chooses a country and we need to show citie

  • Sales order line split in shipping transaction

    hi all :- 1- i have an order line with quantity 110 , and book this order 2- go to shipping transaction to pick release this line. it split it in two lines with diffrent Sub Inventories 3- re Query to Make Ship Confirm , and make ship confirm at this