Skip to content Skip to navigation

Using the remctl tools Command to Determine Proxy Information

Posted by: 
Topics: 
Tags: 

Want to know what URL a proxy points to? Want to know the proxy(ies) that point to a given URL? Sure you do.

If you SSH into corn (or any of the Leland timeshares) and type:

remctl tools proxy showdest techcommons.stanford.edu

It will return:

https://www.stanford.edu/group/extech/cgi-bin/drupal/

Additionally, if you type:

remctl tools proxy showhost https://www.stanford.edu/group/extech/cgi-bin/drupal/

It will return:

techcommons

Finally, if you type:

remctl tools proxy showtype techcommons.stanford.edu

It will return:

proxy

And that's pretty nifty. (Thanks to Jon Robertson in ITS for installing the remctl tools and explaining their use.)