The nomenclature is explained in this beautiful tutorial
The real trick I got from this tutorial and another tutorial
Run the following on myPC
$ssh -t userid@gateway ssh remoteserver
Still gotta figure out how to do sftp through ssh tunneling
$ssh -t userid@gateway ssh remoteserver
\usepackage{algorithm}[boxed]
\begin{algorithm}
\caption{XOXO}
\label{XOXO}
\begin{algorithmic}[1]
.
.
.
\end{algorithmic}
\end{algorithm}
\renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
\renewcommand{\textfraction}{0.07} % allow minimal text w. figs
% Parameters for FLOAT pages (not text pages):
\renewcommand{\floatpagefraction}{0.7} % require fuller float pages
% N.B.: floatpagefraction MUST be less than topfraction !!
\renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages