SSH From iMac Won't Always Work With Abbreviated Names

I've been using my iMac for a few weeks without any problems, but today, I'm running into a strange one. I had to change the DNS from one computer to another, both running on Debian Linux (old one was Debian Etch, new is on Debian Lenny). The older computer is now offline. I'm using the same DNS server I was using before and the same config files, which I've checked over before copying them. I've never had a problem like this before.
My LAN, just for reference, uses character names from Oz for the computers (suggested by a young relative!), so the domain name is thresh.oz, my iMac is polychrome or polychrome.thresh.oz, and the computer I'm trying to reach, which is running Debian Etch, is scarecrow or scarecrow.thresh.oz.
I had this problem earlier when I tried to ssh to the new DNS server, but it disappeared after a reboot. The current problem system, scarecrow, is running software for business doing searches and I really do NOT want to reboot it until later this week -- so I'd like to solve this without reboots.
With this computer, when I type "ssh scarecrow" I get this error message:
ssh: Could not resolve hostname scarecrow: nodename nor servname provided, or not known
If I use "ssh -vvv scarecrow," I get this:
OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
ssh: Could not resolve hostname scarecrow: nodename nor servname provided, or not known
If I type "ssh scarecrow.thresh.oz" or "ssh 172.16.7.4" I get a connection without a problem. I've specified in my DNS config file (it's DNSMasq and the info is read from /etc/hosts on the DNS server) to recognize the computer as scarecrow or scarecrow.thresh.oz. On my Linux computers I've specified to always use "thresh.oz" as the search domain (not sure how to do that on my iMac).
I have a number of scripts that refer to this system only as "scarecrow" without the domain name and without an IP address and I don't want to have to change them.
I can deal with this for now and reboot later, if that's what makes a difference, but it's a major pain and I hate the idea that I might have to deal with this in the future and be forced into reboots.
I did find this thread:
http://discussions.apple.com/thread.jspa?threadID=1524974
But the solution wouldn't fit here, since a character was mistyped from cut & paste and in my case I'm simply typing "ssh scarecrow."
Any ideas on this?
Thank you!

I should have elaborated more. Part of it is I'm still getting used to where things are on a Mac compared to Linux. I checked preferences and do have thresh.oz in there. I can type "ssh wizard" and it works or "ssh ozma" and it works (although it didn't earlier, before I rebooted ozma, which is the DNS server here), but typing "ssh scarecrow" would always give me that same error message.
In other words, the problem was ONLY with ssh'ing to that one system and only with the name "scarecrow," not with "scarecrow.thresh.oz," but there was no need for the full domain with other systems.
I was thinking in terms of the reboot with the DNS and how that could have fixed it -- is there also any kind of cache the iMac would keep -- a lookup cache or something like along that line that would get renewed over time that might have fixed it instead of the reboot I did?

Similar Messages

  • Why won't icloud work with windows vista anymore?

    why won't icloud work with windows vista anymore?

    I had to re-install after the newly released iTunes - for Vista it does work with iClud 2 - not 3. You can download from this site.

  • How do I do a defrag? My machine is running slow and defragging always worked with Microsoft. Thanks in advance.

    How do I do a defrag? My machine is running slow and defragging always worked with Microsoft. Thanks in advance.

    Pat,
    Use Activity Monitor to keep an eye on your disk use and memory use. You may hear different figures, but I like to see my free disk and free memory above 25%. Sometimes all it takes is a Restart. Try to minimize the number of browser windows you have open at once. Quit unused applications.
    Many of us in this discussion area like to use OnyX periodically. It clears caches and repairs permissions, etc. You can download it from this site.  Be sure to download the one for the OS version you are using. There is a script called Automation within OnyX that allows you to start it and come back later when it's done with several actions.
    Jerry

  • I activated this week my Photoshop and Lightroom CC and noticed it is a dutch version but in the past I always worked with an english version. Can I change the dutch version for an english ? Thanks. Peter

    I activated this week my Photoshop and Lightroom CC and noticed it is a dutch version but in the past I always worked with an english version. Can I change the dutch version for an english ? Thanks. Peter

    Hi t Forograafken,
    You can check your Creative Cloud Application Preferences to see if 'Deutsch' is chosen.
    You can change the App language from here :
    Regards,
    Rave

  • If i bought an iphone from New York, will it work with a moroccan network?

    if i bought an iphone from New York, will it work with a moroccan network?

    If it is locked, yes you will have to unlock it to use with a Moroccan
    wireless network. Only the wireless provider to which an iPhone
    is locked can unlock it.
    If you can get that far, what does it say when you look at Settings+>
    General=>About=>Carrier?

  • I have Lightroom4 for an iMac.  Will it work with a Windows based laptop?

    I have Lightroom4 for an iMac.  Will it work with a Windows based laptop?

    You need to install the Windows version.  The serial number for the Mac version should work with the Windows version.
    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • FM Transmitter used to work fine but stopped working, bought 2 new ones and neither work, they work with other Ipods in the house, IPOD Usb syncs fine with Computer, why won't it work with the FM transmitters anymore?

    FM Transmitter used to work fine but stopped working, bought 2 new ones and neither work, they work with other Ipods in the house, IPOD Usb syncs fine with Computer, why won't it work with the FM transmitters anymore?

    Are the other iPods models, same version as yours. The 2 New FM Tx may need a new iPod software, which you can update via iTunes.
    Good Luck!

  • HT201412 Safari could not open the page because the server stopped responding- new ipad mini's (2 from separate places) are not working with At & T router but computers work. Can you please help me. I've tried everything. Thanks ya'll!

    Safari could not open the page on my new ipad mini's because the server stopped responding- new ipad mini's (2 from separate places) are not working with At & T router but computers work fine. Yesterday I got it to work. Weird. Can you please help me. I've tried everything. Thanks ya'll!

    Hello SavannahSweetie,
    I was looking into the issue you are desribing, and found a great article for troubleshooting wifi connections with iOS devices. It's called iOS: Troubleshooting Wi-Fi networks and connections and can be found here: http://support.apple.com/kb/ts1398.
    Start with this section, and work your way down if needed.
    Basic troubleshooting
    Tap Settings > Wi-Fi and turn Wi-Fi off and then on again.
    Verify that you are in range of your Wi-Fi router or base station.
    Confirm that your Wi-Fi router and Cable/DSL modem are connected to power and turned on.
    Check whether other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Update your Wi-Fi router to the latest firmware.For AirPort Base Stations, refer to this article for information about firmware updates. For third-party Wi-Fi routers, check the manufacturer's website for details on updating your firmware.
    Restart your iOS deviceHold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
    All the best,
    Sterling

  • How to get imac 27 inch to work with asus triple mionitors to work through matro triple head 2 go

    how to get imac 27 inch to work with asus triple mionitors to work through matro triple head 2 go

    I think I got a little ahead of myself explaining my problem, so let me clarify...
    Only the one iMac is having the network file deletion problem, but it is included in the network user logon problem.  So 4 out of 5 of the iMacs have had or are having logon problems with network users accounts using mobile accounts on the systems.  2 of the 4 I have wiped and started over on and the other 2 have different network accounts being used by the primary system users.  The 5th iMac has not caused any problems except I forgot to mention that the USB on it seems flaky.
    So we are apparently full of problems. 

  • Does xavc long from a pxw x70 camera work with premiere pro cs6

    Does xavc long from a pxw x70 camera work with premiere pro cs6

    Take a look at this plug-in

  • My westel modem (that I rent from my phone provider) quit working with the internet.  My airport extreme seems to be working from the dsl (phone) connection through the westel, then through the ethernet cabled to the airport extreme.  Do I need the modem?

    My westel modem (that I rent from my phone provider) quit working with the internet.  My airport extreme seems to be working from the dsl (phone) connection through the westel, then through the ethernet cabled to the airport extreme.  Do I need the modem?  Is the ethernet route less efficent that going throught the internet connection?  If I don't need the westel modem; how do I make the dsl conection to the pone port in the wall?  Thanks for help on this!

    Ok, so are you saying that your Internet is or isn't working?  Does it work if you plug your computer directly into your computer and bypass the router (make sure you power cycle the modem when you do this)?  If it is working this way, then a new modem isn't going to solve a problem with your Internet not working.  If it is going slow (try running a speedtest) then you need to call your phone company to have them take a look at why your Internet is slow.  If it runs fine this way and then slows back down when you go back through your router there is something else going on.  Try unplugging both the modem and the router, let the modem fully sign back in and connect to the Internet, after it gets signed in, plug your router in, and then after it boots up fully, try running the speedtest again...See if that helps any?  Sometimes it's just an IP conflict that happens when the dynamic IP that is assigned by your Internet Service Provider changes and the change doesn't flow smoothly.

  • Regularly get "Server Not Found" then always works with a retry. Why

    Regularly get Server Not Found" then always works with a "retry".
    == This happened ==
    Every time Firefox opened
    == I started using Firefox

    Issue
    I have another kind of problem with Firefox
    Description
    Regularly get Server Not Found" then always works with a "retry".
    This happened
    Every time Firefox opened
    I started using Firefox
    Firefox version
    3.6.3
    Operating system
    xp windoes
    User Agent

  • HT203796 Why won't icloud work with outlook 2013 on a PC anymore?  It worked prior to windows 8.1 update.

    Why won't icloud work with outlook 2013 on a PC anymore?  It worked prior to windows 8.1 update.

    Would like to add that I have tried unloading outlook 2013, reinstalling itunes and icloud and still get the "install could not start do to unexpected error" when trying to install icloud controll panel and sync.

  • Until the most recent update when the autocomplete location bar was selected, it "went" with no further clicking. Now I have to click the refresh arrow. It won't even work with the return. How can I make it work the old easier way?

    Until the most recent update when the url that I wanted in the autocomplete location bar was selected, it "went" with no further clicking. Now I have to click the refresh arrow. It won't even work with the return. How can I make it work the old easier way?

    cor-el, thank you so much. That fixed it, but does this mean I can't use AVG Safe Search.Is there a substitute? I do like the security (hopefully real) that it offers. What now? How do I get out of Safe Mode?
    Sherry

  • My mother used to be the bill payer on my iTunes account so now every time I send an email from my iCloud account it sent with her name, how can I change the settings so emails are sent from myself?

    My mother used to be the bill payer on my iTunes account so now every time I send an email from my iCloud account it sent with her name, how can I change the settings so emails are sent from myself?
    I've changed the bill payer to myself but it stills says on emails that I sent that its from my mother.

    In order for the "From" field to show you options on the "from" addresses available, you must set them up in the Preferences > Accounts first.
    I can't show you a screen shot of the from field because I currently only have one account, so the from address used is the default. However, when I had more than one, then options will show up in your compose/reply window.
    You'd need to add an account here:

Maybe you are looking for

  • Generate a PDF file

    Hi all I am trying to generate a PDF file from the browser contents(html). if i give the mime type as owa_util.mime_header(ccontent_type => 'application/vnd.ms-excel'); i am able to genetate a excel file but on the other hand if i use owa_util.mime_h

  • ITunes Extras not playing

    I have read multiple threads on this issue (over a year old, and for the Windows version of iTunes), but haven't seen any fixes yet (for Mac or Windows). I have a dozen or so movies that I purchased from the iTunes store (or downloaded as Digital cop

  • Fire shot not working "xmllite.dll not there. reinstall

    when i try fire shot I 1st get this message "xmllite.dll not installed" 2nd some .dll not found reinstalling should help". It use to work earlier till i tried upgraded to 4.0 which did not have this feature. So i re installed this and I am having thi

  • ALV tree question

    Hi, I run BCALV_TREE_SIMPLE_DEMO in order to know how it is working but I have one question: if I want to download the list to excel, how do I add a button and the functionality to do this? Thanks in advance, Cristian

  • Remove cs6 pre-release

    Hello! I have tried so many times to remove photoshop cs6 pre-release, but without any success. I have downloaded photoshop cs6 extended from this link: http://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop&loc=en_us I stupidly put it in the