Use Wireshark, they said, it’s awesome, they said.
Sure, ok but what if I just want to see what’s going on? Enter TCPFlow. No, not as full featured as Wireshark, but neither is my brain when I’m in a hurry.
What’s the benefit? Follow along:
- Download TCPFlow – there’s a prepackaged copy here
- Figure out which network-interface has the interesting traffic (en0, etc)
- Follow one of these examples:
This is especially handy when troubleshooting smtp process, or directory server setup (before enabling ssl)
Learn more at: http://www.office.mvps.org/troubleshoot/tcpflow.html
For many years I’ve enjoyed SideTrash… but the way it’s posted only works on 10.6 and below. I’ve posting it again in a way that works on 10.6+.
Why SideTrash? Because it’s easier to drag a proxy icon to the trash in the dock, vs having to find it and delete it.
- Download from here SideTrash 1.2.dmg (2.4mb)
- Drag the SideTrash application to your Applications folder, etc
- Drag the SideTrash application to your Dock
- Take any file you’re looking at, and want to trash, and drag its proxy icon to SideTrash
- Close the file, knowing that wherever it was, it’s in the trash now.
- Repeat steps 4-6 as often as you like.
I didn’t write this, I’ve simply repackaged and signed the code written by Paolo Portaluri.
I don’t want to run FTP on my webserver, sorry. WordPress can be convinced to update itself using SSH, but
pecl install ssh2 is needed for it to work.
If you don’t want to fuss with pecl, there’s a plugin which can setup updates via ssh, but it involves configuration for each site in a multisite setup, and was more hassle than I wanted in my life. So it’s back to pecl, but I ran into an issue with precious little on the googles to help with this.
So, here’s the solution which worked for me…
apt-get install php-pear php5-dev
tar -zxvf libssh2-1.4.3.tar.gz
pecl install "channel://pecl.php.net/ssh2-0.11.3"
Gave me a very welcome Build process completed successfully
install ok: channel://pecl.php.net/ssh2-0.11.3
configuration option "php_ini" is not set to php.ini location
You should add "extension=ssh2.so" to php.ini
Looks like it worked!
Now we need to edit the active php configuration for your install, I did this:
sudo echo /etc/php5/cli/conf.d/20-ssh2.ini > extension=ssh2.so
service apache2 restart
I got some of this information from this post by Henning Glatter-Götz, and he’s got the rest of the steps needed in WordPress are laid out well.
So, here’s the hard parts of getting WordPress updating via ssh. Hope this helps you!