6500 closes ssh connection upon any typo's, after DNS lookup attempt.

Hello,
Everytime I enter a command that isn't a command,  the switch attempts a lookup which fails,  then it boots me.   Is this a known issue?
IOS running:  s72033-ipservicesk9_wan-mz.122-33.SXH4.bin
sample output:
COR1VSS2#date
Translating "date"...domain server (10.0.0.100)
(10.0.0.100)
Translating "date"...domain server (10.0.0.100)
% Unknown command or computer name, or unable to find computer addressConnection to core1 closed.
osx-gwhynott:~ gwhynott$
I can avoid this by not typing in non-commands,  but thought I'd ask.  8)  its a bit annoying.
-g

This sounds a lot like CSCsc91824.  The trigger doesn't match exactly, but I wonder if the fact it's trying to look up a host could be tickling this bug.  Certainly the code fix is more generic than fixing the SSH cipher code.  The fix has been integrated into 12.2(33)SXH5, so you might try an upgrade to see if it fixes the problem.  The problem is limited to SSH, though.  If you're seeing the same behavior in telnet, it would definitely be a different cause.

Similar Messages

  • Why can't I connect to any Wi-Fi after updating my iPhone 4S to iOS 8.0.2? Please could someone help?

    HI,
    After updating my iPhone 4S to iOS 8.0.2 I can't connect to any Wi-Fi connections and it just keeps on searching for Wi-Fi networks.
    Can someone please help me with how to resolve this problem?

    The phone's performance is ok but like i know it could be better and when you switch on wi-fi it gets stuck and i have to switch it off and back on if i want to use it.
    How do i degraded to iOS 7? i only got this phone recently but its not my first iphone.

  • Can't connect to any wireless network after waking from sleep

    I have a Netgear wgr814 wireless router and a Powerbook 12" 867mhz. A few months ago, every once in a while when the PB awoke from sleep, it would not be able to connect to any wireless networks. My network showed in the airport menu, but the computer would not connect to it. I believe that the network settings show a self assigned IP of 169.x.x.x. Usually I can see 4 networks in the airport menu, but when it gets in this state only mine shows. Nothing I did on the computer side could make the computer reconnect: renew dhcp, restart, reseat airport card, etc.
    After trial and error I found that if I restarted my router, the pb would reconnect and all would be well. The problem occurred about once a week for a while. Since resetting the router fixed the problem I thought that it may be my router so I updated the firmware. After doing so, the problem didn't occur for about a month, but now it happens at least once per day. Resetting the router always fixes the problem. I don't have to do anything to the PB. Once the router comes back up the PB obtains its IP and is happy again.
    I'll mention that a Dell Laptop on the same network never has any issues and when the PB loses connection the Dell is always fine.
    What could be doing this? My PB is over 3 years old, so is the airport card starting to die? That's the only thing I can think of.

    hi there
    alright.... I tried a bunch of things and I'm not exctly sure what I did that did the trick, but I got the problem solved. I turned off the WPA encryption on the AP. Then I turned it back on with a different password.
    I wonder if the first password I had was too short and that was some how causing confusion.

  • TS1398 After updating to iOS 7 my iphone 5 won't show any wifi networks or connect to any wifi even after resetting the network connections. HELP!

    After updating my iphone 5 to iOS 7 my phone won't show any wifi networks or connect to any. I reset the network connections and still nothing.

    I Just found it on the apple site, it arrived on a cd a few days later and worked just fine again.
    i would recommend backing everything up just in case. Better safe than sorry, trust me. I've lost so much when i didnt back up once when re-installing the system.
    IT shoulldnt erase everything, bt it might, so back up just in case
    should you loose everything, then i have some tips on moving stuff fromyour iphone/ipod to the computer

  • Unity Connection 10 - EventID: 0xC0000007 (7) - After 5 unsuccessful attempts to send a notification for subscription

    hello,
    i am receiving this event on MX:
    this is showing ip address of my unity connection that is 172.20.101.22....
    what could be reason and cause of it?
    EventID: 0xC0000007 (7) - After 5 unsuccessful attempts to send a notification for subscription [EABtYngwMi5uaGljLmxvY2FsEAAAAIfIUmalt2VFie2S8ahJiKNZu5GtCIfRCA==] against endpoint [http://172.20.101.22:7080/NotificationService/services/NotificationService?id=33a00cf5-3f28-44e1-9d44-46b24da4bc2a&pid=14227], the subscription has been removed. Details: WebException: Unable to connect to the remote server Status: ConnectFailure at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
    at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
    at Microsoft.Exchange.Services.Core.NotificationServiceClient.CreateSendNotificationRequestAsync(IAsyncResult requestAsyncResult)

    Navigate to CUC Administration, set the following under SMTP Configuration > Server, and give it another shot.
    [V] Allow Connections From Untrusted IP Addresses
      [ ] Require Authentication From Untrusted IP Addresses
    -Mateusz

  • X230 with windows 7 still won't connect to any bluetooth devices after many attempted solutions

    My starting point:
    I have 6 month old x230 with windows 7, all windows and lenovo updates already completed.  The bluetooth logo exists on the bottom of screen but when I try to "add device" it doesn't recognize any bluetooth devices.  I've tried this with speakers from 3 different companies.  I have updated the bluetooth drivers, the windows and lenovo programs say "device is working properly".  Nothing wierd in device manager.  I have  microsoft bluetooth enumerator and thinkpad bluetooth 4.0.  One time for about 30 minutes it worked on a ECOXGEAR bluetooth speaker but then also stopped.
    Since then:
    I enabled settings in BT control panel, BT is enabled in BIOS, BT wireless on, have tried to rollback driver to previous versions of BT but not possible, devices still do not show up in Add new device window. 
    Latest update:
    I have uninstalled the lenovo bluetooth software following a suggestion and now my laptop no longer has bluetooth capacity at all - it seems when uninstallig the lenovo bluetooth sw the microsoft sw uninstalls as well.
    Solved!
    Go to Solution.

    Seems BT audio profiles your speakers need are absent in the sw installed on the laptop. Try BlueSoleli or Toshiba BT drivers, both of them might have needed audio profiles. Toshiba stack seems a bit better quality but needs some tweaks for installation.
    x220 | i5-2520m | Intel ssd 320 series | Gobi 2000 3G GPS | WiFi
    x220 | i5-2520m | hdd 320 | Intel msata ssd 310 series | 3G GPS | WiFi
    Do it well, worse becomes itself
    Русскоязычное Сообщество   English Community   Deutsche Community   Comunidad en Español

  • [WORKAROUND] Cannot connect to any WiFi network after resume

    Hi, I'm having one weird problem that makes my laptop not as mobile as I'd like it to be..
    Literally, I have to boot it up again after each move.
    Here's the issue: if I suspend to ram, and then resume in a place with different WiFi network, it can't connect to Internet again.
    I'm using NetworkManager via corresponding plasmoid in KDE (although, nmcli does not work either).
    When I click a network name, I get the following:
    "Configuring interface" .... -> Cannot connect to {NetworkName}
    (the labels might be a bit different, as I get all notifications in my local language)
    Have anyone experienced this before?
    Or, AT LEAST, how can I get a bit more verbose output from NetworkManager? Is there a log file?
    Here's the hardware:
    05:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    Here's what I've tried already (and it didn't help):
    # systemctl restart NetworkManager
    # modprobe -r ath9k
    # ncmcli nm sleep false
    WORKAROUND FOUND: When I get "Configuring interface" .... -> Cannot connect to {NetworkName} (it happens not only after resumes, btw), I type the following in the console:
    sudo dhcpcd -k
    So much time passed, so many updates -- still have to do this manually... %)
    Last edited by mityukov (2013-12-03 10:19:12)

    hadrons123 wrote:Try these methods
    https://bbs.archlinux.org/viewtopic.php?pid=1241694
    Here's what I've tried:
    # stop NetworkManager first, just in case if it would not start anything before time
    sudo systemctl stop NetworkManager
    # kill wpa_supplicant (one of suggestions in the topic)
    sudo killall wpa_supplicant
    # re-load kernel module with nohwcrypt=1 (another suggestion in the topic):
    sudo modprobe -r ath9k
    sudo modprobe ath9k nohwcrypt=1
    # start NetworkManager again
    sudo systemctl start NetworkManager
    Then tried to connect the network again: the issue is till the same. Here's the latest dmesg:
    $ sudo dmesg -c
    [ 3079.006749] ath9k: ath9k: Driver unloaded
    [ 3111.623220] cfg80211: Calling CRDA to update world regulatory domain
    [ 3111.694588] ath: phy0: ASPM enabled: 0x43
    [ 3111.694594] ath: EEPROM regdomain: 0x65
    [ 3111.694596] ath: EEPROM indicates we should expect a direct regpair map
    [ 3111.694599] ath: Country alpha2 being used: 00
    [ 3111.694600] ath: Regpair used: 0x65
    [ 3111.697195] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
    [ 3111.697465] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xffffc900140a0000, irq=16
    [ 3111.717234] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 3136.958046] r8169 0000:03:00.0 eth0: link down
    [ 3136.958159] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 3138.903691] wlan0: authenticate with 00:24:8c:65:bb:d5
    [ 3138.911517] wlan0: capabilities/regulatory prevented using AP HT/VHT configuration, downgraded
    [ 3138.911567] wlan0: send auth to 00:24:8c:65:bb:d5 (try 1/3)
    [ 3138.917180] wlan0: authenticated
    [ 3138.917697] ath9k 0000:05:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 3138.917711] ath9k 0000:05:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 3138.917718] ath9k 0000:05:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 3138.918897] wlan0: associate with 00:24:8c:65:bb:d5 (try 1/3)
    [ 3138.932402] wlan0: RX AssocResp from 00:24:8c:65:bb:d5 (capab=0x411 status=0 aid=3)
    [ 3138.932553] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 3138.932790] wlan0: associated
    [ 3139.406632] wlan0: deauthenticating from 00:24:8c:65:bb:d5 by local choice (reason=3)
    [ 3139.415815] cfg80211: Calling CRDA to update world regulatory domain
    [ 3143.712977] wlan0: authenticate with 00:24:8c:65:bb:d5
    [ 3143.720532] wlan0: capabilities/regulatory prevented using AP HT/VHT configuration, downgraded
    [ 3143.720582] wlan0: send auth to 00:24:8c:65:bb:d5 (try 1/3)
    [ 3143.731367] wlan0: authenticated
    [ 3143.731865] ath9k 0000:05:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 3143.731882] ath9k 0000:05:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 3143.731888] ath9k 0000:05:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 3143.735093] wlan0: associate with 00:24:8c:65:bb:d5 (try 1/3)
    [ 3143.748277] wlan0: RX AssocResp from 00:24:8c:65:bb:d5 (capab=0x411 status=0 aid=3)
    [ 3143.748533] wlan0: associated
    [ 3144.140732] wlan0: deauthenticating from 00:24:8c:65:bb:d5 by local choice (reason=3)
    [ 3144.148708] cfg80211: Calling CRDA to update world regulatory domain
    [ 3148.642615] wlan0: authenticate with 00:24:8c:65:bb:d5
    [ 3148.650085] wlan0: capabilities/regulatory prevented using AP HT/VHT configuration, downgraded
    [ 3148.650132] wlan0: send auth to 00:24:8c:65:bb:d5 (try 1/3)
    [ 3148.665772] wlan0: authenticated
    [ 3148.666264] ath9k 0000:05:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 3148.666278] ath9k 0000:05:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 3148.666284] ath9k 0000:05:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 3148.667980] wlan0: associate with 00:24:8c:65:bb:d5 (try 1/3)
    [ 3148.681955] wlan0: RX AssocResp from 00:24:8c:65:bb:d5 (capab=0x411 status=0 aid=3)
    [ 3148.682212] wlan0: associated
    [ 3149.016733] wlan0: deauthenticating from 00:24:8c:65:bb:d5 by local choice (reason=3)
    [ 3149.031462] cfg80211: Calling CRDA to update world regulatory domain
    [ 3153.648602] wlan0: authenticate with 00:24:8c:65:bb:d5
    [ 3153.656323] wlan0: capabilities/regulatory prevented using AP HT/VHT configuration, downgraded
    [ 3153.656374] wlan0: send auth to 00:24:8c:65:bb:d5 (try 1/3)
    [ 3153.659859] wlan0: authenticated
    [ 3153.660389] ath9k 0000:05:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 3153.660403] ath9k 0000:05:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 3153.660410] ath9k 0000:05:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 3153.663889] wlan0: associate with 00:24:8c:65:bb:d5 (try 1/3)
    [ 3153.672276] wlan0: RX AssocResp from 00:24:8c:65:bb:d5 (capab=0x411 status=0 aid=3)
    [ 3153.672536] wlan0: associated
    [ 3153.967817] wlan0: deauthenticating from 00:24:8c:65:bb:d5 by local choice (reason=3)
    [ 3153.980619] cfg80211: Calling CRDA to update world regulatory domain

  • Windows 2012 Master FSMO DC lost connection to other DC's after DNS was lost

    Hi. I'm hoping someone has a resolution to my issue.  I've recently added a new VMware Windows 2012 DC server to replace an existing DC1 Server with a memory leak.  I also successfully added the Master FSMO roles to this new server and renamed
    the server to DC1.  I did at least 6 checks that the replication was successful with DC2 before rebooting.  However, upon rebooting I discovered that the DNS tables in DC2 were incomplete.  Once the DNS was restored the VM's were working fine
    however, now it appears that DNS and DHCP are fine but the FSMO roles on DC1 and connection to DC2 are no longer working.  I've tried running ntulis, and netdom with no success.  I'm afraid until I get the connection back to the network and the FSMO
    roles re-established finishing the renaming of this domain controller may be premature.  Any advise at this point would be great as I'm unsure whether or not to abandon this server and start from scratch or try to salvage the work I've already put in. 
    Following is the error I get when running dcdiag. 
    Running enterprise tests on : XXXXX
       Starting test: LocatorCheck
          Warning: DcGetDcName(GC_SERVER_REQUIRED) call failed, error 1717
          A Global Catalog Server could not be located - All GC's are down.
          Warning: DcGetDcName(PDC_REQUIRED) call failed, error 1717
          A Primary Domain Controller could not be located.
          The server holding the PDC role is down.
          Warning: DcGetDcName(TIME_SERVER) call failed, error 1717
          A Time Server could not be located.
          The server holding the PDC role is down.
          Warning: DcGetDcName(GOOD_TIME_SERVER_PREFERRED) call failed, error
          1717
          A Good Time Server could not be located.
          Warning: DcGetDcName(KDC_REQUIRED) call failed, error 1717
          A KDC could not be located - All the KDCs are down.
          ......................... XXXXX failed test LocatorCheck
       Starting test: Intersite
          ......................... XXXXX passed test Intersite

    I'm not sure I follow your renaming steps.  But, I think the issue might be that your clients are still pointing to the IP address of the original DC1.  Therefore, any DNS record updating would not be directed to the IP address of your
    new DC1.  Clients tend to rely on fixed IP addresses to find the DNS server, not a DNS name, which would be a bit of a catch-22.   
    .:|:.:|:. tim

  • Setting Printmotd to yes in sshd_config disallows SSH connections

    Once I set Printmotd to yes, HUP the ssh daemon and try to establish a ssh connection, it just hangs indefinitely after accepting the password. This is on Solaris 9 with Open SSL. I have checked the following:
    1. The sshd_config file is not the problem as it runs okay on another server without a problem.
    2. Eliminated the possibility of a connection between the version of Solaris and the OpenSSL version by testing it on another server with the same versions.
    3. Identified that only the Printmotd setting is causing new ssh connections to hang on these domains.
    4. Checked that the sshd binary is also working fine by transporting it across to another test server.
    5. Replicated the same settings as they exist on the other Solaris 9 server to these domains, however the ssh connections still failed.
    6. Investigated the /etc/profile settings as well and they are the the same.
    I have checked the permissions of /etc/issue and those are different. Can that be the cause of the problem? or is it something else that I have overlooked?

    Using debug mode, when I try to login I get the completely same set of messages that i would get when ssh is working, except it hangs at the point indicated below:
    debug1: next auth method to try is password
    d36@nuspe's password:
    debug1: ssh-userauth2 successfull: method password
    debug1: channel 0: new [client-session]
    debug1: send channel open 0
    debug1: Entering interactive session.
    debug1: client_init id 0 arg 0
    debug1: channel request 0: shell
    debug1: channel 0: open confirm rwindow 0 rmax 32768 -> Stops here
    A successful ssh connection goes from the previous line to:
    Last login: Mon Jun 15 13:38:48 2009 from nus007

  • Upon opening Firefox, all tabs start connecting without any websites, the proccessing grey circle on each tab periodically turns green and back to grey.

    When I start firefox the normal page doesn't open and instead the tabs start connecting and connecting without any website and the grey circle that each tab has turns green and then grey and the process repeats itself. And If I try to type an address I can't because upon pressing 'w', it tries to connect to what I don't know.

    hello, it sounds like a theme or extension might be interfering here. please try launching firefox in safe mode once and see if the issue is occurring there too. in case it's working correctly, please go to firefox > addons > extensions and disable/remove any extension that look suspicious/you didn't install intentionally or that might interfere with the tab loading behaviour.
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Airport express wireless connection freezes SSH connection - any fixes?

    airport express wireless connection freezes SSH connection - any fixes?
    so i am using an airport express and remotely access computers/servers via SSH. port forwarding is set up and the computer has a fixed local IP address.
    if i continue to issue command in the shell, then the connection persists. however, if i leave it idle for some amount of time more than a half an hour, both terminal and xterm (X11) freeze for a considerable amount of time. then they time out and return to a active shell on the local computer.
    i have since determined that this does not occur if i am using a direct (built-in) ethernet connection.
    is this problem fixable? are there settings in airport admin utility that can be changed to prevent this from occuring?
    any advice or pointers would be tremendously appreciated
    stefanos

    hi bill,
    thank you for the suggestion. i added the lines to my .ssh/config file and so far it seems to have solved the problem.
    i'll evaluate it over the next few days and post back if i notice any problems. it seems to achieve what i was thinking at least conceptually. to somehow, while idle, send something to ensure the connection stays alive.
    many thanks for the solution. it's been a nagging issue and it's great to be likely rid of it.
    stefanos
    Powerbook G4 & iMac G5 :: Mac OS X (10.4.9)

  • Using LabVIEW 6i w Win NT or 95/98 et al: how do you keep a TCP/IP open connection 'open'. The application closes the connection even though the refnum is still active (valid.)

    Actually, I open the TCP/IP connection and pass the connection ID through. Each command to/from (cycle) the UUT successfully executes. The refnum for the connection ID is then passed via a shift register in the while loop. i am using the type cast (4X) function to determine the validity of the connection and case statements. If the refnum is non-zero it assumes the connection is still open; if the result is zero, then the connection is closed and a new session opened in that case. What is happening is that the connection has closed and the refnum is still nonzero after the type cast function; su
    bsequent commands to the UUT then produce Error 1 for the TCP/IP function (there was no open connection, so there could be no write occurrence.) Obviously, this probably shouldn't be happening. If someone can give me some idea of what I am not doing, or am doing wrong, I sure would appreciate it. In the event that I open and close a connection for each command to(from)(cycle) the UUT everything works. It is extremely slow. The connection should remain open according to all the pointers in the Help and TCP/IP function descriptions. Some of this application is proprietary, so not sure how much of an example I could use to illustrate from a VI, but if this doesn't get any where, I will see what i can do to better illustrate the problem...Thanks. T.Raper

    I believe this is a related question. I am developing a LV application the uses TCP/IP to control up to 8 devices-under-test (DUT) at one time. They start and finish testing at arbitrary times relative to each other, and the IP addresses are not known until the DUT arrives. I have some question on what is the best way to manage the TCP/IP handles.
    Presently, I have 8 Global IP addresses (one per testing site) that are updated as DUTs arrive and depart, and then whenever I need to communicate with a DUT I use TCP-Open, Write/Read, and TCP-Close. I do this Open/Write/Close each time there is a message to be sent to a DUT. This is basically working, but I notice that the OS (Windows XP or 2000) is running through local TCP/IP ports at a ferocious rate due to the TIME_WAIT behavior of Closed TCP/IP ports (It takes many minutes for a local port to become available again after being closed). If I am not careful, I can quickly exhaust the pool of OS ports by using tight polling loops or other very quick DUT accesses. I have tried not to do that in order to avoid running out of handles, but it is still very wasteful of ports.
    While it is working, I feel so dirty burning through these handles like this since they appear to be a precious resource. I really cannot easily merge multiple Read/Writes into a single Open/Close since there are dozens of otherwise unrelated tests that communicate with the DUT as a part of their functionality. The tests are even in different subVI's that are accessed via a vi-server, and only one is loaded at a time.  
    I thought that a cute idea would be to cache the handles in Globals, and wrap the Open to use the cache if valid, but reading this thread is making me think it is a lot of effort -- I believe I would need to keep a VI running as a "IP Connection Server" at all times and use some form of messaging to get it to Open/Close TCP connections as needed. Since the DUTs arrive at aribitrary times, and with random IP addresses, I cannot establish all the TCP handles ahead of time -- they would need to be created dynamically. It is much more difficult than simply keeping the Connection IDs in global variables -- the VI that Opened them must not be allowed to terminate.
    So... I am curious...... is it really that bad to Open/Close as frequently as I am doing it? Does it make me a bad person? I understand it is inefficient use of time, but the simplicity it brings to the structure seems huge, and the DUT is very slow anyway. And if it is bad, are they any more recent thoughts on alternatives? Do VISA handles behave the same way as TCP handles (ie. auto-close themselves upon exit of the VI that Opened them) ?
    Message Edited by Mike Seibel on 11-28-2005 07:55 PM
    Message Edited by Mike Seibel on 11-28-2005 08:00 PM
    Message Edited by Mike Seibel on 11-28-2005 08:01 PM

  • Problems with SSH: Connection Refused

    Greetings fellow Arch users,
    I have hit a bit of a snag that I could really use some extra help getting around. I've tried everything I can think of (and everything that Google thought might work) and I have my back rather against a wall, so I thought I'd come here to see if anyone can offer some advice.
    To make a long story short, I am a college student and am attempting to set up an ssh server on a desktop at my house so I can access it remotely from the college. I have the computer set up and the server running, however I am having difficulty making connections to it from my laptop. I know that the server is running, because I can log into it both from the server itself (sshing into local host) and from my laptop when I use the internal IP address.
    The server is on a static IP address within the network(192.168.0.75), and my router is configured to forward TCP port 1500 to it (I'm using 1500 as the port for my ssh server). However, when I attempt to log into the ssh server using my network's external IP address, the connection is refused. I used nmap to scan my network and found that, even though the proper ports are forwarded to the proper place as far as my Router's configuration interface is concerned, port 1500 is not listed as one of the open TCP ports. I also, to test it, temporarily disabled the firewalls on both the server and the client. That didn't help. The command that I am running is:
    ssh -p 1500 douglas@[external ip address
    As I am really not sure what is causing this problem, I don't know what information to provide. So here is everything that my inexperienced mind sees as likely being important. If you need anything more, let me know and I will do my best to provide it.
    Here is the sshd_config file from my server.
    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.
    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented. Uncommented options override the
    # default value.
    Port 1500
    #AddressFamily any
    #ListenAddress 0.0.0.0
    #ListenAddress ::
    # The default requires explicit activation of protocol 1
    #Protocol 2
    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key
    #HostKey /etc/ssh/ssh_host_ecdsa_key
    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 1h
    #ServerKeyBits 1024
    # Ciphers and keying
    #RekeyLimit default none
    # Logging
    # obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    #LogLevel INFO
    # Authentication:
    #LoginGraceTime 2m
    PermitRootLogin no
    #StrictModes yes
    #MaxAuthTries 6
    #MaxSessions 10
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
    # but this is overridden so installations will only check .ssh/authorized_keys
    AuthorizedKeysFile .ssh/authorized_keys
    #AuthorizedPrincipalsFile none
    #AuthorizedKeysCommand none
    #AuthorizedKeysCommandUser nobody
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    #PermitEmptyPasswords no
    # Change to no to disable s/key passwords
    ChallengeResponseAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    #KerberosGetAFSToken no
    # GSSAPI options
    #GSSAPIAuthentication no
    #GSSAPICleanupCredentials yes
    # Set this to 'yes' to enable PAM authentication, account processing,
    # and session processing. If this is enabled, PAM authentication will
    # be allowed through the ChallengeResponseAuthentication and
    # PasswordAuthentication. Depending on your PAM configuration,
    # PAM authentication via ChallengeResponseAuthentication may bypass
    # the setting of "PermitRootLogin without-password".
    # If you just want the PAM account and session checks to run without
    # PAM authentication, then enable this but set PasswordAuthentication
    # and ChallengeResponseAuthentication to 'no'.
    UsePAM yes
    #AllowAgentForwarding yes
    #AllowTcpForwarding yes
    #GatewayPorts no
    #X11Forwarding no
    #X11DisplayOffset 10
    #X11UseLocalhost yes
    PrintMotd no # pam does that
    #PrintLastLog yes
    #TCPKeepAlive yes
    #UseLogin no
    UsePrivilegeSeparation sandbox # Default for new installations.
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #UseDNS yes
    #PidFile /run/sshd.pid
    #MaxStartups 10:30:100
    #PermitTunnel no
    #ChrootDirectory none
    #VersionAddendum none
    # no default banner path
    #Banner none
    # override default of no subsystems
    Subsystem sftp /usr/lib/ssh/sftp-server
    # Example of overriding settings on a per-user basis
    #Match User anoncvs
    # X11Forwarding no
    # AllowTcpForwarding no
    # ForceCommand cvs server
    The ouptut of ip addr when run on the server:
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:21:9b:3a:be:94 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.75/24 brd 192.168.255.0 scope global enp8s0
    valid_lft forever preferred_lft forever
    inet6 fe80::221:9bff:fe3a:be94/64 scope link
    valid_lft forever preferred_lft forever
    Here is the output from running nmap on the network:
    Starting Nmap 6.40 ( http://nmap.org ) at 2013-09-28 21:05 EDT
    Initiating Ping Scan at 21:05
    Scanning address [2 ports]
    Completed Ping Scan at 21:05, 0.01s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 21:05
    Completed Parallel DNS resolution of 1 host. at 21:05, 0.05s elapsed
    Initiating Connect Scan at 21:05
    Scanning pa-addresss.dhcp.embarqhsd.net (address) [1000 ports]
    Discovered open port 80/tcp on address
    Discovered open port 443/tcp on address
    Discovered open port 23/tcp on address
    Discovered open port 21/tcp on address
    Completed Connect Scan at 21:05, 4.08s elapsed (1000 total ports)
    Nmap scan report for pa-address.dhcp.embarqhsd.net (address)
    Host is up (0.036s latency).
    Not shown: 995 closed ports
    PORT STATE SERVICE
    21/tcp open ftp
    23/tcp open telnet
    80/tcp open http
    443/tcp open https
    8080/tcp filtered http-proxy
    Read data files from: /usr/bin/../share/nmap
    Nmap done: 1 IP address (1 host up) scanned in 4.19 seconds
    Here is the ssh_config client-side:
    # $OpenBSD: ssh_config,v 1.27 2013/05/16 02:00:34 dtucker Exp $
    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    # users, and the values can be changed in per-user configuration files
    # or on the command line.
    # Configuration data is parsed as follows:
    # 1. command line options
    # 2. user-specific file
    # 3. system-wide file
    # Any configuration value is only changed the first time it is set.
    # Thus, host-specific definitions should be at the beginning of the
    # configuration file, and defaults at the end.
    # Site-wide defaults for some commonly used options. For a comprehensive
    # list of available options, their meanings and defaults, please see the
    # ssh_config(5) man page.
    # Host *
    # ForwardAgent no
    # ForwardX11 no
    # RhostsRSAAuthentication no
    # RSAAuthentication yes
    # PasswordAuthentication yes
    # HostbasedAuthentication no
    # GSSAPIAuthentication no
    # GSSAPIDelegateCredentials no
    # BatchMode no
    # CheckHostIP yes
    # AddressFamily any
    # ConnectTimeout 0
    # StrictHostKeyChecking ask
    # IdentityFile ~/.ssh/identity
    # IdentityFile ~/.ssh/id_rsa
    # IdentityFile ~/.ssh/id_dsa
    # Port 22
    Protocol 2
    # Cipher 3des
    # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
    # MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
    # EscapeChar ~
    # Tunnel no
    # TunnelDevice any:any
    # PermitLocalCommand no
    # VisualHostKey no
    # ProxyCommand ssh -q -W %h:%p gateway.example.com
    # RekeyLimit 1G 1h
    Output of ssh -v during connection attempt:
    OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013
    debug1: Reading configuration data /home/douglas/.ssh/config
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to address [address] port 1500.
    debug1: connect to address address port 1500: Connection refused
    ssh: connect to host address port 1500: Connection refused
    Thank you guys ahead of time. Getting this server operational is hardly critical, it is just a side project of mine, but I would really like to see it working.
    Douglas Bahr Rumbaugh
    Last edited by douglasr (2013-09-29 02:58:56)

    Okay, so I finally have the opportunity to try and log in from a remote network. And. . .  it doesn't work. Which is just my luck because I now need to wait an entire week, at least, before I can touch the server again. Anyway, running ssh with the maximum verbosity I get this output:
    douglas ~ $ ssh -vvv -p 2000 address
    OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013
    debug1: Reading configuration data /home/douglas/.ssh/config
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to address [address] port 2000.
    debug1: connect to address address port 2000: Connection timed out
    ssh: connect to host address port 2000: Connection timed out
    It takes a minute or two for the command to finish with the connection timeout, as one would expect. And yes, I am reasonably sure that the address that I am using is my home network's external IP. It is dynamic, but I checked it before I left which was just over an hour ago. I guess that it may have changed. I'll know that for sure in the morning, when my server sends me an automatic email with the network's current address. In the meantime I am operating under the assumption that the address I am using is correct. What else could be the problem?

  • How to correct close database connection after report generation

    Hello
    I have problem a with alive database connection after report creation and report  closing. How to properly to close connection to database?
    Best regards
    Edited by: punkers84 on Jun 17, 2011 10:38 AM

    that's what I am doing... after viewing the report, I call the close method on the window closing event of the container window. but the connection is still open. I had a lot of other issues with my jdbc driver but after downgrading to an older version those issues are resolved.Only this one is still there! Is there any other way to close the connection (like using dbcontroller or etc.)?

  • SX280 HS no longer recognized as connected to any computer/ device

    I purchased the brand new PowerShot SX280 HS three weeks ago. Being a person that actually reads directions and owners manuals, I followed the Getting Started booklet exactly as stated to connect the camera to my Win 7 (64-bit) PC, and it worked well to automatically transfer my photos to the computer via USB cord using CameraWindow. 
    Within a few days, I had also set up the camera's wifi connection to the same computer, and it worked fine to transfer selected photos to the computer.  I *think* that I could still also connect to the computer via USB at that time.  I also set up wifi connections to various email addresses and to Canon's iMAGE Gateway online.  However, I was never able to connect via wifi to my tablet (Motorola XOOM, Android 4.1.2) 
    A few days later we took a week-long trip out of town for our dd's college graduation (the whole reason for the camera upgrade). Rather than waiting a week to download the photos to the home computer, we tried to connect the SX280  to our Win 7 (32-bit) laptop via USB, having previously installed the Canon software. However, the laptop would never recognize being connected to the camera.  After trying the set-up several times, we finally succumbed to using ImageBrowser to import the pictures directly from the SD card inserted into the laptop. 
    Upon returning home, I wanted to download the pictures to the home PC, but now had the same problem as with the laptop: CameraWindow, ImageBrowser, and Windows Explorer all gave me the same error - no camera detected!  Tried using ImageBrowser to import the pictures from the SD card inserted into the PC, but even that was not recognized by the computer! Finally got the computer to "see" the SD card when I put it into a USB card reader and connected that way. Whew!
    Tried again today to connect the camera to the home PC, but still no recognition by the computer of there being a camera connected via USB.  In an attempt to start over from the beginning to connect the camera to the computer, I resorted to removing that computer from the camera's wifi settings, deleted the camera profile from the computer's list of devices, and removed all the Canon software from the computer, Alas, during the software installation process, when the time came to connect the camera via USB to the computer, I received the same error - could not detect any camera as connected to the computer!  
    Did setting up the wifi connections somehow disable the ability to connect via USB? 
    What to do???  There is now a big Firmware Update available for this camera to correct a major glitch, but I fear I will not be able to install the update if the computer cannot detect the camera.

    When using other imaging devices with your computer, the conflict between the two (or more) devices and software may corrupt the camera driver, which is provided by Windows.
    You've already done some of this, so I apologize, in advance, but I'm going to ask you to go back to the Device Manager.
    Before you go:  If your computer is a desktop unit, is the USB cord plugged into the back of the computer? (Recommended) If it's a laptop, is your computer running on AC power? (recommended)
    Now, on to the Device Manager:
    1.  Click on the Windows Icon (used to be the "Start" button.
    2.  Click on Computer.
    3.  Click on System Properties.
    4.  Click on Device Manager and expand "Portable Devices".
    Now, while keeping an eye on the Device Manager, connect your camera and power it on in the playback mode.
    If you see the camera driver appear, please right-click on it, then choose "Delete".  Next, turn the camera off for a few seconds (10 or so), then turn the camera back on.
    What happens?
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

Maybe you are looking for