philgroce.com

Prototype ergo propter type

SSH: "open failed: administratively prohibited"

17 Nov 2008 07:53

Apparently, you can get this error for a number of reasons . The obvious one is that you don’t have AllowTCPForwarding set in your sshd_config. A less obvious but probably more common one—which bit me earlier today, which is why I write this—is that you’ve misspelled a host name. To wit, this:


ssh example.com -L8000:locahost:80

…is not the same as:


ssh example.com -L8000:localhost:80

(Discussing this with my colleagues prompted a joke about living “La Vida Local.” Finally, a Ricky Martin song for shut-ins.)

Category: geekery

Copyright © 2006-2008 Phil Groce. All Rights Reserved.