Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-16-2013, 09:58 AM   #1
LQ Newbie
Registered: Jul 2011
Posts: 17

Rep: Reputation: Disabled
Question How to know what command PUTTY uses?

Hello good morning.

I was wondering if there is a way to know what exact command does PUTTY uses to accomplish what we click in the GUI.

For example I use putty to make a ssh tunnel with the following paremeters:

Dynamic port: 8080

Under protocol options I tick "Don't start a shell or command at all" and this is very important for me.
Reading about SSH tunnels I found something like this:

$ssh -D 8080 user@IP
Is that command correct? What about the "Don't start a shell or command at all" setting? what parameter would that be.

Thank you very much in advanced.
Old 12-16-2013, 10:19 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
there is no "exact command" as PuTTY is an SSH client, it's talking SSH, not the command line options you pass to the default OpenSSH client, as that's just another client.

As per the manpage, not opening a shell is done with the -N option on ssh commandline.
1 members found this post helpful.
Old 12-16-2013, 10:41 AM   #3
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
You can check PuTTY user manual for detailed explaination.
Old 12-16-2013, 10:50 AM   #4
LQ Newbie
Registered: Jul 2011
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thank you both for taking the time to answer.

I'll try the command I found adding the -N parameter.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty won't accept command longer than a few lines puttyguy Linux - Newbie 8 09-03-2013 03:22 PM
[SOLVED] PuTTY Command Sender changing +x to X Predatorian Linux - General 2 03-21-2013 03:21 PM
open a putty & run command thru autologin send2rawat Linux - General 5 07-31-2007 09:42 AM
Command for downloading using Putty michn77 Linux - General 2 01-13-2004 12:24 PM
Maximize Putty to command prompt? KePSuX General 0 08-15-2003 04:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration