If $A$ is $m\times n$, then it represents a linear map $T_A:\mathbb{R}^n\longrightarrow \mathbb{R}^m$. That its rank equals $m$ also implies that the image of $T_A$ is all of $\mathbb{R}^m$, ie, it is surjective.
For each $i\in\{1,\dots,m\}$, choose some $v_i\in {T_A}^{-1}(\{e_i\})$ and let $V=\bigoplus_{i=1}^m\text{span}(v_i)$. Notice that $V\subset\mathbb{R}^n$ is $m$-dimensional, and $A(V)=\mathbb{R}^m$.
A right inverse $B$ would be an $n\times m$ matrix such that $AB=I_m$, the $m\times m$ identity. Such a $B$ would represent a linear map $T_B:\mathbb{R}^m\longrightarrow \mathbb{R}^n$, and can be defined as follows. Let $Be_i=v_i$ for each $i=1,\dots,m$. Since this defines $B$ throughout a basis of $\mathbb{R}^m$, it defines $B$ entirely. It's also easy to see by construction that $ABv=v$, so we're done.