headac3e - Aug 9, 2005 - 7:16 pm
hi,
is there a simple ssh2 client available for the mac? i am looking to get putty but it doesnt seem to compile. i am accustomed with putty because of its server profiles it can store and that it supports ssh2 authentication keys.
when i try to install the putty darwinport, heres the output:
davids-ibook-g4:~ david$ sudo port install putty
Password:
---> Building putty with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupd ate_dports_security_ putty/work/putty-0.56/unix" && make all -f Makefile.gtk" returned error 127
Command output: sh: line 1: make: command not found
can you point me a direction on fixing that?
thanks.
macbri - Aug 10, 2005 - 1:03 am
Hey Dj -
You'll need to install Xcode, the Apple Developer package, which includes source code compilers, make and so on. Once you've installed that (it's available on your Tiger install DVD as an optional install) try your darwinports command again and you should be all set.
By the way, ssh2 is already on your system but only as command-line tools.
I hope this helps, and thanks for choosing macosx.com.
- Brian
--------
Brian S.
MacOSX.com Technical Support
brian@macosx.com
headac3e - Aug 10, 2005 - 1:09 am
hi.
thanks for your reply. i did infact figured out the xcode part and got it to compile and everything. however, i cant seem to run it O.o?? its not in the paths and spotlight finds some putty folders that dont have the putty binary except the other putty utilities such as pscp. how do i go about running the GUI version of putty.
i was aware of the ssh2 thats already there. however, its a pain to type all the arugments for my ssh (i.e. auth key, non-standard ssh port, username, etc). i could write a shell script but then i would have to write a lot of them for each server.
thanks again.
macbri - Aug 10, 2005 - 2:33 am
Hey Dj -
Well I wasn't sure what the problem might be so I grabbed a copy of Darwinports myself and installed it. Then installed putty and sure enough I ended up with pscp, psftp and pslink. But no putty. So i dug around and in the Portfile for putty I found this line:
> description ssh tools pscp, psftp and plink from the Putty project
So it looks as if it's command-line based toosl only and there's no putty GUI, if that's what you were expecting (a GUI is what *I* was expecting!).
Anyway I looked around a bit and found SSHAgent 1.1 which is a nice GUI for handling identities, authorization keys and so forth. Once set up you could then use good old Terminal to connect with ssh. It can be downloaded from Version Tracker (
download). Another program which might be handy for server profiles is Sycure Shell, also at Version Tracker (
download).
Would these be useful alternatives do you think?
- Brian
--------
Brian S.
MacOSX.com Technical Support
brian@macosx.com
headac3e - Aug 10, 2005 - 3:13 am
yes, i was expecting a GUI to putty and to be able to ssh from it.
hmm, the ssh agent program seems to mange ssh keys. it doesnt seem to allow me to import my existing keys nor does it seem to support connection profiles (i.e. ip, port, etc).
the sycure shell program doesnt seem to work for me as well.. probably because its beta.
thanks for your help.
macbri - Aug 10, 2005 - 3:34 am
Right - the SSH Agent is purely an "middle-man" to handle authentication requests automagically for you. It's not a connection manager. Sycure Shell is however a connection manager, but since it doesn't work for you... not much help. I found another Agent called SSHKeychain and I tried it out, it *does* find an import my existing key (I made one for testing with "ssh-keygen" and when I fired up SSHKeychain it found it).
Another connection manager I located is JellyfiSSH -- it requires 10.3 or newer and as 10.2 and it's friends get older it's getting harder to find newer apps that will run. But enough soap-box ranting from me - here are the links to the packages I mention:
SSHKeychain JellyfiSSH
--------
Brian S.
MacOSX.com Technical Support
brian@macosx.com
headac3e - Aug 10, 2005 - 4:39 am
wow this is becoming very frustrating for something simple. for SSHKeychain, it doesnt seem to take my ssh2 keys (not to mention, it crashed on me a couple of times). itll say invalid key. it does work with a ssh1 key (ie created with ssh-keygen as opposed to ssh-keygen2).
jellyfishh is what i had initially.. it seems to be a nice gui but it lacks key support.
ahh thanks for your time.
macbri - Aug 11, 2005 - 1:58 pm
Hi Dj -
Unfortunately I haven't been able to locate a good GUI SSH client for Mac OS X. I'm sending this ticket back into the open pool, maybe another tech has some suggestions for you. Sorry to not be more help.
- Brian
--------
Brian S.
MacOSX.com Technical Support
brian@macosx.com