Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.