Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
August 23, 2009, 9:12 pm
rate this thread
Host name - root@<target host ip>
Port - 22
SSH Key - <path to private key>
Tunnel - *:<portnumber
Destination - localhost:<portnumber>, specify 'remote'
I'm guessing the command is similar on Unix?
Stuff under <> is variable.
Re: Mapping PuTTy settings to OS X Terminal command
Note, unlike Putty, OS X Terminal is just a terminal screen. It runs a
unix command line shell, it doesn't do ssh itself.
To run ssh within Terminal, you'd be running the OpenSSH ssh client
(ie. a seperate program, just compiled and supplied by Apple, not
built into Terminal itself, but can be run from within it).
So, this is really a question on how to use OpenSSH.
Normally you'd specify these all on the command line, but you can edit
your ~/.ssh/config if you want the same settings in use for each time
you invoke the openssh ssh client to a certain host.
Your command would probably end up something like (not knowing
specificly how Putty does "Tunnel").
ssh -p22 -Llport:remotehost:rport root@hostip -i path_private_key
But you can read the ssh man page (ie. 'man ssh') in the shell for
all the options, or search on any number of openssh FAQ devoted sites.
There's nothing Mac specific in its use of openssh client at all.
- » SSH_FXP_STATUS messages block for an inordinate amount of time
- — Next thread in » Secure Shell Forum
- » PuTTY dies with sshd_config directive "Match" - anybody else?
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum