Archive

Posts Tagged ‘windows’

How to: Make a password less SSH Login

First  you will have to generate key on local machine.

For that type in the following command in a terminal. Here we are using RSA encryption.

ssh-keygen -t rsa

It will ask you for a password but you can leave it blank.

Note you could also pick -t dsa if you prefer DSA encryption.

Ensure that the remote server has a .ssh directory

Make sure the server your connecting to has a .ssh directory in your home directory. If it doesn’t exist you can run the ssh-keygen command above, and it will create one with the correct permissions.



Copy your local public key to the remote server

If your remote server doesn’t have a file called ~/.ssh/authorized_keys2 then we can create it. If that file already exists, you need to append to it instead of overwriting it, which the command below would do:

scp ~/.ssh/id_rsa.pub remote.server.com:.ssh/authorized_keys2

Now ssh to the remote server

Now you can ssh to the remote server without entering your password.

Security

Now keep in mind that if someone need to login to the remote server, all s/he need is the file on your local machine ~/.ssh/id_rsa, so make sure it is secure.

Access Home Computer From Office via Internet

Step 1. Install the VNC server.

Windows users: TightVNC is free Windows VNC server and client software. TightVNC is a nice choice because it also allows for file transfers and high compression levels for slow connections. Download TightVNC from here and run the installation on your home computer. Start the server, and set a password for incoming connections.

TightVNC can be set to run as a Windows service, which means your Windows usernames and passwords can be used to authenticate on the VNC server connection. Be sure all your Windows passwords are set and strong, and that any passwordless guest accounts are disabled.

Mac users: OSXvnc is a free Mac VNC server. Download, install, set up a password and start the server.

If your VNC server is connected directly to the Internet, it is now listening for Internet requests on port 5900, VNC’s default port (which is also configurable). Visit WhatIsMyIP from your home computer to determine its IP address and write it down.

Step 2. Install the VNC client.

On the remote Windows computer, also download and install TightVNC, but this time, start the viewer, NOT the server. If you’re on a Mac, download the free Chicken of the VNC Mac viewer to connect to your home PC. Enter your home computer’s IP address and password to connect.

Here’s a screengrab of a VNC connection to my Windows PC from my Mac. Click on the image to see a larger version.

And that’s that! You’re virtually sitting at your home desktop from anywhere in the world.

A few extra VNC tips to chew on:

  • For slower network connections, set the compression to “best.” The window image quality will be lower, but the connection response will be snappier.
  • Bring a VNC viewer with you on a USB memory stick so you don’t have to download and install on every computer you want to use to connect to your server.
  • Avoid having to install a server on Mom’s computer; email her the 166K self-extracting SingleClick UltraVNC server for your next tech support phone session. More on SingleClick in an upcoming Lifehacker feature.

FOOTNOTES:
[1] LogMeIn is a web-based application that also provides this remote desktop control and may be a better option for some folks. I prefer VNC because it’s more of a challenge and doesn’t require third party intervention.

[2] If your home computer is behind a home network router with a firewall, remote computers will not be able to connect. You must open up a port on your router’s firewall and forward requests to it to your computer.

[3] Alternately, you can enter your home computer’s domain name. For setting Up a Hostname For your computer You can use the free service of DynDNS.

Credits:[LifeHacker]

HandBrake One of the best Video Converter for Linux

HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder, available for MacOS X, Linux and Windows.

Supported Sources:

  • Any DVD-like source: VIDEO_TS folder, DVD image or real DVD (unencrypted–protection methods including CSS are not supported internally and must be handled externally with third-party software and libraries), and some .VOB and .TS files
  • Most any multimedia file it can get libavformat to read and libavcodec to decode.

Outputs:

  • File format: MP4 and MKV
  • Video: MPEG-4, H.264, or Theora
  • Audio: AAC, CoreAudio AAC (OS X Only), MP3, or Vorbis. AC-3 pass-through, DTS pass-thorugh (MKV only)

Misc features:

  • Chapter selection
  • Subtitles
  • Integrated bitrate calculator
  • Picture deinterlacing, cropping and scaling
  • Live Video Preivew
Mac OS
Mac OS X 10.5 / 10.6 – GUI
Download (32bit Intel)
Download (64bit Intel)

Download (Power PC)

Mac OS X 10.5 / 10.6 – CLI
Download (32bit Intel)
Download (64bit Intel)

Download (Power PC)

Intel based Macs: If you have an Intel Core 2 Duo / Core i5 or i7, you can download the “64bit Intel” release. If you have the older “Core Duo” or “Core Solo” processors, you should download the “32bit Intel” release.
Windows
Windows XP/Vista/7 – GUI
Download
Windows XP/Vista/7 – CLI
Download
Ubuntu Linux
Ubuntu 9.10 deb – GUI
Download (32bit)
Download (64bit)
Ubuntu 9.10 deb – CLI
Download (32bit)
Download (64bit)
Fedora 12 rpm – GUI
Download (32bit)
Download (64bit)
Fedora 12 rpm – CLI
Download (32bit)
Download (64bit)
Other
Useful Links
Checksums
Source Code

How to: Change the default installation Location

As the size of hard drives increase, more people are using partitions to separate and store groups of files.

XP uses the C:\Program Files directory as the default base directory into which new programs are installed. However, you can change the default installation drive and/ or directory by using a Registry change.

Go to :-

- Start > Run

- Type regedit and Press Enter

- Go to this directory…
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

- Look for the value named ProgramFilesDir. by default,this value will be C:\Program Files. Edit the value to any valid drive or folder and XP will use that new location as the default installation directory for new programs.

Categories: Tips 'n' Tricks Tags: , ,

Opera 10.5 Beta comes with Private browsing and Windows7 integration

The latest version of Opera Browser comes with a bundle of nice features. Well private browsing is nothing new as almost all well known browsers are having this feature. But windows7 Integration, i have to tell you, its awesome. Its like this version of opera have integrated to windows7 better than Internet explorer 8.

The interface has been completely re-done with Aero Glass for Windows 7 or Vista users. The menu bar has been rolled up into a single button similar to the way Office 2007 works, with easy access to all common functions all from one place.

Windows 7 users can hover their mouse over the taskbar Opera button to see previews of each of the open tabs, and moving your mouse over a specific tab will enable the Aero Peek effect and show the Opera window with the contents of that particular tab. Well this is how Internet Explorer 8 works right? And thats not all. You can even middle-click on the thumbnail preview to close a tab.

If you have created a shortcut of opera on your taksbar, then you can simply right click it and it gives you options for selecting items from your Speed Dial, opening a new tab, or starting a new private browsing session in a separate tab.

Download

This build still represents early work in progress; as before many things are known not to work. It can still crash, cause you to swear and speak badly of you behind your back. You have been warned!

Known issues (will be fixed in the next snapshot)

  • 99% score on Acid3
  • Regression in DOM performance

Opera 10.5 Beta [Opera Desktop Team] via – LifeHacker

How to: Avoid the delay in Windows Start Menu

At some point all of us might have noticed the delay occurs when we click on the windows start menu. And again the delay comes for each and every menu shown. I mean after clicking the start menu, if we click on the all programs menu, here comes another delay. Sometimes its ok for us. But not all the time. Sometime it may drive us nuts. There is no point in the delay other than the effect which is too small enough to notice.

So here I am going to explain how to avoid this delay. Yes Microsoft allows the computer geeks to customise it. We can even increase the delay. But  I am not recommending it.

So for decreasing the delay (if you are not getting the sleep without seeing the microsoft windows delay effet) or stop the delay from occuring we have to do a small tweak in the windows registry.

The default value is 400. Set it to 0 and the delay is gone, but it will be nearly impossible to move the mouse fast enough not to activate [All Programs] if you mouse over it in route to your final selection. It’s easy to train yourself to move the pointer to the right after clicking Start to avoid activating All Programs. Pick a number that suits your style and make the change, then test it until you find a good compromise between speed and usability.

[Start]>[Run]> [Regedit]>

Goto the registry key

Registry Key: HKEY_CURRENT_USER\Control Panel\DesktopModify/Create the Value Data Type(s) and Value Name(s) as detailed below.

Data Type: String Value // Value Name: MenuShowDelaySetting for Value Data: [Default = 400 / Adjust to Preference]

Exit Registry and Reboot