Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to establish a connection in SSH, to a remotehost...

I am having the following information from my company(example, not real data)...

ssh -p 1234 -L 4321:126.4.12.3:4423 user3@12.42.123.323 -N

They asked me to connect using Linux command, in their environment...

I am trying to connect with the details through my PUTTY terminal from my personal computer...

Which data to give in which place for PUTTY connection?

Thanks,

Mani

share|improve this question
up vote 1 down vote accepted

Instead of using putty as front end, use Plink in command line :

plink.exe -P 1234 -L 4321 126.4.12.3:4423 user3@12.42.123.323 -N

See http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and to download it : http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe

share|improve this answer
    
plink, does it work on windows??? Nothing happens when I double click on the exe... – Mannii88 Jun 9 '12 at 18:56
    
As you can see, it's a *.exe file, so yes, it's for windows. Download the executable, open a windows terminal cmd, type chdir <PATH/TO/EXE/DIR> and my command line. – Gilles Quenot Jun 9 '12 at 18:59
    
thanks !!! it didn't strike me...Sorry!~ – Mannii88 Jun 9 '12 at 18:59
    
unknown option -p, i am getting as the message, when i give the command... – Mannii88 Jun 9 '12 at 19:06
    
Use -P instead. See doc : the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter7.html#plink Thanks to upvote and accept response if it's useful for you ;) – Gilles Quenot Jun 9 '12 at 19:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .