windows user access ssh through putty

January 31st, 2007 mysurface Posted in Admin, putty, ssh | Hits: 28054 | 3 Comments »

Putty is a great ssh client for windows user, it is easy to use and lightweight too. Do you expect to see a tutorial or an examples on how to use in windows? No way, it is too many of them, the tutorial is everywhere on the net, google it and i find this.

So, what is this post about?
Well, putty on linux, you can find it at your repository. Apt-get, yum anything. When I try to run putty on windows msdos prompt, I couldn’t find any command line option

putty.exe --help
putty.exe /? 

No! Nothing at all on windows, but you have options on putty linux.

putty --help

It allows you to adjust your font, background color etc. You can do it in GUI settings anyway, it is a X client.

One thing I like about putty is it allow me to store the remote host IP address, username and its port. So that I can double click the sessions i have saved and directly it prompts me to enter the password. It is really convenient for system admin, because we can’t really remember all the server IP and it is waste of time to always type a long command line to access a ssh server and you have to remember all of them.

Long ssh command line can be like this:

ssh mysurface@myserverdomainnameis.long -p 8088

Where putty store the sessions information?

In windows, they store it in the registry. It really inconvenient to copy reg from one place to another. But for putty linux, the information is stored at ~/.putty/sessions

The config file is in text format, looks like this:


Okay that is nice, it makes me think of creates a simple ssh GUI wrapper uses bash script that can call zenity to allow me insert my username, port, host address and also I can call the GUI wrapper to allow me to choose from which ssh server to access. Just like this:

xssh -c //to trigger a X dialog to create a new sessions
xssh //to trigger a X dialog that allow you to choose from

Is this already exist? Tell me if already have one.

Differences between putty in windows and putty in linux/unix.
1. Copy is still done by highlighting in linux, but pasting is middle click instead of right click.
2. To trigger a dialog box where you can duplicate and open a new sessions is done by pressing down ctrl and right click instead of right click on the windows title bar.

3 Responses to “windows user access ssh through putty”

  1. Amarendra Moharana Says:


    “session setup failed: NT_STATUS_LOGON_FAILURE” this type of error i got when using the command

    $ smbclient // is the ip address of server and amoharana is the samba user.

    p-lease help how to access the samba server on my windows system.

    Thanks and Regards
    Amarendra Moharana

  2. I have been browsing on-line greater than 3 hours today, but I by no means observed any interesting guide like yours. It is pretty worth enough for me. In my look at, if all webmasters and bloggers made excellent articles material as you almost certainly did, the net will possibly be much more useful than ever before.

Leave a Reply