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

hello all i am try to tunnel with command from my windows using cygwin to $ ssh -D localhost:9999 xxx@sdf.lonestar.org 23 it is promit me password and after i do that

ksh: 23: not found
Malek@Malek-VAIO ~

share|improve this question

migrated from stackoverflow.com Jun 8 '11 at 2:34

This question came from our site for professional and enthusiast programmers.

1  
Please remove the telnet tag, this has nothing to do with telnet. – Chris Jun 8 '11 at 2:22

I'm assuming you're trying to specify that the remote ssh port is 23. You're close

ssh -D localhost:9999 xxx@sdf.lonestar.org -p 23

Without the -p you're telling ssh to execute the command 23 when it connects to the remote host (which of course isn't a command).

share|improve this answer

You must log in to answer this question.