error making an ssh tunnel

I'm getting an error trying to create an ssh tunnel.

*ssh –L 10548:localhost:548 username@my.computer.at.work*

returns

*ssh: Error resolving hostname \342\200\223L: nodename nor servname provided, or not known*

normal ssh works ok so the problem is with localhost. This only happens on one of my computers. the other one connects fine using the same internet connection.

P.S. I just checked and this only happens on one user account. the rest are fine.


Message was edited by: V.K.

this thread is the continuation of [this one|http://discussions.apple.com/thread.jspa?messageID=7218912#7218912].

Message was edited by: V.K.

Mac Pro 3.2 GHz, Mac OS X (10.5.2), Mac Pro 2.66GHz, powerbook G4 1.5GHz

Posted on May 17, 2008 12:49 PM

Reply
18 replies

May 17, 2008 2:18 PM in response to V.K.

Very strange. I wonder what \342\200\223L means. You can create a tunnel to the same username@my.computer.at.work from another account on the same client Mac?

The localhost parameter is actually sent to the server, i.e. it means that sshd should connect port 548 on localhost. What if you put "10548:localhost:548" in quotes? Or try "*ssh –L 10548:my.computer.at.work:548 username@my.computer.at.work*". You could also try moving or renaming your local ~/.ssh folder to make sure there are no local user settings that are confusing things.

May 17, 2008 5:08 PM in response to V.K.

V.K. wrote:
Someone on another board suggested that I could be using different versions of ssh on different accounts. Don't know how that can be or how to check it...

It could be. *ssh -V* will print the version number. You can also type *which ssh* to get the patch of the ssh that the account is using.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

error making an ssh tunnel

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.