Removing old SSH Key on Windows 8 - sublime-text + sftp - windows-8

I need to remove an old ssh key but I don't know the location of the directory. The sublime console says the following.
The SSH host key has changed. This could indicate a potential security breach, or that the domain you are connecting to recently moved servers.
If you are confident this is not a security breach you can delete the old host key and try again.
1. Win XP: Start > Run > regedit.exe
Win Vista/7: Start > regedit
2. Expand to HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys and delete the entry including #22:example.com
The Problem is that there is no solution for windows 8 :/
Thanks already for the support!

Snipped from ComboFix.org "How to Open the Registry Editor in Windows 8":
Step 1: If you are on the Windows 8 desktop, point the cursor at the lower right
corner of the screen. Click the “Search” option as soon as it pops up on the
left-side of the screen. If you are on the Metro UI Start Screen, point the
cursor at the lower left corner of the screen and click the right mouse button.
Now select the “Search” option on the context menu.
Step 2: When you perform either of the above actions, Windows 8 will load
the “Apps” screen. Type “regedit” into the search bar located on the right
side of the “Apps” screen.
Step 3: Click the “regedit” search result on the left side of the “Apps”
screen. If you see a UAC dialog box, click “Yes” to open the
Windows 8 Registry Editor.
After that point, just expand to HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys and delete the desired entry including the #22:domain.tld
Hope this helps.

Related

How to remove Desktop tab in KDE Plasma

I would like to remove the Desktop tab from KDE Plasma desktop environment and get rid of the context menu. Is there a way to do this ?
Hi Chris, Thanks for the reply. I am running KDE 4.14.8. I am not seeing what you are describing. The context menu is the menu when you right click on the desktop. I think you are calling it "desktop menu". My original snapshot show that menu. That menu changed depending what desktop theme I selected. I could not find anything call Configure Desktop. The closest thing to that would be Default Desktop Setting and there is not there about the Tweaks tab. The project that I am working on is kind of mission critical. It would be just a plain desktop without anything. The only thing the user can do is log on, does his job and log off. All the things that can distract the user will be removed. I got most of them except for this pesky toolbox.
To remove the toolbox:
right-click on desktop to get the desktop menu
select Configure Desktop, a dialog appears
switch to Tweaks tab
uncheck Show the desktop toolbox
You can also drag it to a corner (when widgets are unlocked), then it will not show the current activity name, but will still be accessible.

Control-alt-delete RDP from RDP

I need to remote desktop into one windows server and then from there remote desktop into another windows server (don't ask...). I know that you can use Ctrl+alt+end to act as ctrl+alt+delete in remote desktop but this only affects my first RDP connection, how do I do this for the second one?
Thanks
Below worked for me when attempted Keyboard Keys Highlighted.Alt+Ctrl+Del on Box2 from Box1
RDP to your Box2 from Box1
Open On-Screen Keyboard on Box2. eg on Windows 2016 server it would be under
Open C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\On-Screen Keyboard
When On-Screen Keyboard comes on Box2, press ALT+CTRL of "Box1 keyboard" and using mouse click on "Box2's On-Screen Keyboard" DEL button.
If you're using an RDP within another RDP, Ctrl+Alt+End may not work as expected -- it sometimes could bring up the Task Manager / Change Password screen for the outer RDP.
Instead, to bring up the Task Manager / Change Password screen for the inner RDP :
Bring up the on-screen keyboard (Start > Run, type osk.exe)
Hold Ctrl+Alt on the top-level machine and click Del on the OSK.
This should work for any number of nested RDPs.

Windows 8 tablet - How to prevent explorer from starting desktop app with maximized window?

When I start a desktop application on Windows 8 tablet, Explorer starts it with SW_SHOWMAXIMIZED.
For example, if you start Notepad from command prompt, it opens in normal window size, but if you do that from Explorer, maximized window is opened. I have seen this Explorer behavior only on tablet PC and I guess Explorer is doing that on purpose.
I understand that it may be useful for many application programs, but I want my program to start with normal size unless user explicitly requests Explorer to open it maximized.
Is there a way to stop this for my application? I'm hoping that there is an API or manifest to do that, but I couldn't find any information at MSDN.
Thanks in advance.
See if this helps:
Open any program that is affected with this issue. Note: Make sure that it is the only open window of that program. eg. You can only do this if you have one window of command prompt open.
Adjust the window size and position to your liking.
While holding Ctrl on your keyboard, close the window by clicking (or touching, for tablet) the X in the top-right corner of the window to close it.
Re-open the program. Your window should now open in the way you set it in step 3.

SSMS SQL SERVER Management Studio 2012 startup freeze

I have a strange situation. IT installed SSMS on my laptop and it runs well the first time, connected to my SQL servers remotely etc. But then it's frozen. I forced quit and then started SSMS again. Now it's totally frozen, no popup window at all to enter the server-connection text string. Then I did a force quit and got a pop up window (see it here ).
Microsoft SQL Server Management Studio has detected that an operation is blocking user input. This can be caused by an active modal dialog or a task that needs to block user interaction. Would you like to shut down anyway?
Has anyone seen this before? My IT department has no clue.
Often this is due to the new connection dialog being off screen (usually due to changing monitor setup e.g. 1 to 2 monitors or resolution change etc).
If so the really easy fix (if your connection dialog just needed approval without changing fields) is :
Focus on SSMS and Hit Enter/Return
..or the easy fix (if above does not work - as your last connection is not ready to go) is:
Alt Tab to SSMS
Alt + Space - context menu
M - select Move (in offscreen context menu)
Arrow Key(s) - to move it back onto screen
As per answers here from #Eirik Toft and here from #Lee Chetwynd
Fixed an issue which presented the same on my machine today by renaming a entry in my registry:
After some digging there seems to be multiple issues that can produce the same error (Application, settings, registry). This blog entry covers it pretty well:
http://www.armedia.com/blog/2012/08/sql-server-management-studio-freeze/
In my case deleteing the SQL server management studio folder under AppData ( c:\users\%userName%Appdata\raoming\microsoft\ ) didn't work.
However I was successfully after deleting / renaming the regisitry entry:
[HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server]
(update)
Worked out the underlying issue on my laptop - was using additional 2 screens with much higher resolutions which caused windows / SSMS to open up the connect to new data source dialog off all of them. If your using multiple screens try returning to just use the native laptop screen to see if you can find the dialog that SSMS is waiting on your input for.
I just had this same situation, with two additional screens connected to my laptop. SQL Server Management Studio was opened on the third screen, with the modal dialog nowhere to be seen.
Two options:
Press tab three times and enter. This cancels the dialog. Now you can move the window to another screen.
Set Windows to only use one or two screens. SSMS opens on the first and should still open there when you move back to using three screens.
When SSMS is on your primary or secondary screen, the modal dialog opens on the first and should be usable.
It was because multi screen display. Turning off multiscreen to single one resolved it. Reenabled multi screen display after ssms started working
In my case, "Run as Administrator" option worked like charm. I was accessing my server screen with the windows RDP. And when I open SQL Server Management Studio and Visual Studio 2010 user hangs at the moment and wont operate unless sign off r disconnected by administrator.
But when I set compatibility mode of both the application to the "run as Administrator", it starts working fine.
the problem also occurs if you have a touch screen. I fixed this by disabling the local thouch screen when I switch to RDP.

when using intellij running dual monitors on ubuntu, how to get menu to get menu popup not to drift back to first window?

I use idea on ubuntu linux w/ 2 monitors. I often pull up 2 projects so I can copy stuff from one to the other, and I have one project in a window on
one monitor screen, and the other on the second screen.
My problem is this: when I open the second project in the 'non-primary' monitor screen, and i click on an item in the top level menu bar
the menu pop up displays on the primary monitor screen...not the secondary one... it does not matter if I have the project in the secondary
monitor window maximized or not... the pop up just drifts over to the primary monitor screen..
it is not a fatal error.. I can move my mouse over to the first monitor window and click on the sub menu i want..
but it is so annoying. I'm wondering if this is a bug, or perhaps there is a work around for it ?
Also posted on IntelliJ user community board. If they answer, I will post the response here.
That is unfortunately a Ubuntu specific bug. I recommend you vote for and track it: Pop-up dialogs are sometimes misplaced on Ubuntu 12.04 with dual screens
I can suggest 2 workaround solutions for this issue.
Workaround 1
I use Intellij on my right hand side monitor. But the menus are displayed on left hand side monitor. So, I opened "Displays" configuration and moved the right hand side monitor to the left. Now, the menus are displayed on the correct monitor. Note that, the monitor is still stays on my right hand side:).
Workaroud 2:
Downgrade to JDK 1.6.