\doxysection{tr\+\_\+ssh\+\_\+config Struct Reference}
\hypertarget{structtr__ssh__config}{}\label{structtr__ssh__config}\index{tr\_ssh\_config@{tr\_ssh\_config}}


A \doxylink{structtr__ssh__config}{tr\+\_\+ssh\+\_\+config} struct holds configuration data for an tr\+\_\+ssh socket.  




{\ttfamily \#include $<$ssh\+\_\+transport.\+h$>$}

\doxysubsubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{structtr__ssh__config_a219bcee38ef67ce1e870d20f71edefca}{host}}
\item 
unsigned int \mbox{\hyperlink{structtr__ssh__config_a0b92f272b57f029295da4725f4207aca}{port}}
\item 
char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{structtr__ssh__config_aa79070c2c4e6e4d7dfce074da602c70d}{bindaddr}}
\item 
char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{structtr__ssh__config_ad4e82515d60ba34130b1f098a5d352d9}{username}}
\item 
char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{structtr__ssh__config_ad4336c509bc08b2c8808ea18a17ecf2d}{server\+\_\+hostkey\+\_\+path}}
\item 
char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{structtr__ssh__config_ab995072a5f80641f9ef687f24952b1b6}{client\+\_\+privkey\+\_\+path}}
\item 
void \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{structtr__ssh__config_afead8059a4ba83a2ffb23b644ca1f5db}{data}}
\item 
int(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{structtr__ssh__config_acf3bd856b4f05ec727de78ad0a1aae0a}{new\+\_\+socket}} )(void \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structtr__ssh__config_afead8059a4ba83a2ffb23b644ca1f5db}{data}})
\item 
unsigned int \mbox{\hyperlink{structtr__ssh__config_a6dfc9b66a2eadc4af7e3b8ccf73a7257}{connect\+\_\+timeout}}
\item 
char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{structtr__ssh__config_adc4ae249999639d1aba8ca8d44470674}{password}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A \doxylink{structtr__ssh__config}{tr\+\_\+ssh\+\_\+config} struct holds configuration data for an tr\+\_\+ssh socket. 


\begin{DoxyParams}{Parameters}
{\em host} & Hostname or IP address to connect to. \\
\hline
{\em port} & Port to connect to. \\
\hline
{\em bindaddr} & Hostname or IP address to connect from. NULL for determination by OS. \\
\hline
{\em username} & Username for authentication. \\
\hline
{\em server\+\_\+hostkey\+\_\+path} & Path to public SSH key of the server or NULL to don\textquotesingle{}t verify host authenticity. \\
\hline
{\em client\+\_\+privkey\+\_\+path} & Path to private key of the authentication keypair or NULL to use \texorpdfstring{$\sim$}{\string~}/.ssh/id\+\_\+rsa. \\
\hline
{\em data} & Information to pass to callback function in charge of retrieving socket \\
\hline
{\em \doxylink{structtr__ssh__config_acf3bd856b4f05ec727de78ad0a1aae0a}{new\+\_\+socket(void}} & \texorpdfstring{$\ast$}{*}opaque\+\_\+info) callback routine, that Pointer to the function that is called every time a new connection is made. The returned socket is expected to be ready for use (e.\+g. in state established), and must use a reliably stream-\/oriented transport. When \doxylink{structtr__ssh__config_acf3bd856b4f05ec727de78ad0a1aae0a}{new\+\_\+socket()} is used, host, port, and bindaddr are not used. \\
\hline
{\em connect\+\_\+timeout} & Time in seconds to wait for a successful connection. Defaults to \doxylink{group__mod__transport__h_gac27543eee07496666cd6ebf3487aec40}{RTRLIB\+\_\+\+TRANSPORT\+\_\+\+CONNECT\+\_\+\+TIMEOUT\+\_\+\+DEFAULT} \\
\hline
\end{DoxyParams}


\doxysubsection{Field Documentation}
\Hypertarget{structtr__ssh__config_aa79070c2c4e6e4d7dfce074da602c70d}\label{structtr__ssh__config_aa79070c2c4e6e4d7dfce074da602c70d} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!bindaddr@{bindaddr}}
\index{bindaddr@{bindaddr}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{bindaddr}{bindaddr}}
{\footnotesize\ttfamily char\texorpdfstring{$\ast$}{*} tr\+\_\+ssh\+\_\+config\+::bindaddr}

\Hypertarget{structtr__ssh__config_ab995072a5f80641f9ef687f24952b1b6}\label{structtr__ssh__config_ab995072a5f80641f9ef687f24952b1b6} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!client\_privkey\_path@{client\_privkey\_path}}
\index{client\_privkey\_path@{client\_privkey\_path}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{client\_privkey\_path}{client\_privkey\_path}}
{\footnotesize\ttfamily char\texorpdfstring{$\ast$}{*} tr\+\_\+ssh\+\_\+config\+::client\+\_\+privkey\+\_\+path}

\Hypertarget{structtr__ssh__config_a6dfc9b66a2eadc4af7e3b8ccf73a7257}\label{structtr__ssh__config_a6dfc9b66a2eadc4af7e3b8ccf73a7257} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!connect\_timeout@{connect\_timeout}}
\index{connect\_timeout@{connect\_timeout}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{connect\_timeout}{connect\_timeout}}
{\footnotesize\ttfamily unsigned int tr\+\_\+ssh\+\_\+config\+::connect\+\_\+timeout}

\Hypertarget{structtr__ssh__config_afead8059a4ba83a2ffb23b644ca1f5db}\label{structtr__ssh__config_afead8059a4ba83a2ffb23b644ca1f5db} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!data@{data}}
\index{data@{data}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{data}{data}}
{\footnotesize\ttfamily void\texorpdfstring{$\ast$}{*} tr\+\_\+ssh\+\_\+config\+::data}

\Hypertarget{structtr__ssh__config_a219bcee38ef67ce1e870d20f71edefca}\label{structtr__ssh__config_a219bcee38ef67ce1e870d20f71edefca} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!host@{host}}
\index{host@{host}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{host}{host}}
{\footnotesize\ttfamily char\texorpdfstring{$\ast$}{*} tr\+\_\+ssh\+\_\+config\+::host}

\Hypertarget{structtr__ssh__config_acf3bd856b4f05ec727de78ad0a1aae0a}\label{structtr__ssh__config_acf3bd856b4f05ec727de78ad0a1aae0a} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!new\_socket@{new\_socket}}
\index{new\_socket@{new\_socket}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{new\_socket}{new\_socket}}
{\footnotesize\ttfamily int(\texorpdfstring{$\ast$}{*} tr\+\_\+ssh\+\_\+config\+::new\+\_\+socket) (void \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structtr__ssh__config_afead8059a4ba83a2ffb23b644ca1f5db}{data}})}

\Hypertarget{structtr__ssh__config_adc4ae249999639d1aba8ca8d44470674}\label{structtr__ssh__config_adc4ae249999639d1aba8ca8d44470674} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!password@{password}}
\index{password@{password}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{password}{password}}
{\footnotesize\ttfamily char\texorpdfstring{$\ast$}{*} tr\+\_\+ssh\+\_\+config\+::password}

\Hypertarget{structtr__ssh__config_a0b92f272b57f029295da4725f4207aca}\label{structtr__ssh__config_a0b92f272b57f029295da4725f4207aca} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!port@{port}}
\index{port@{port}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{port}{port}}
{\footnotesize\ttfamily unsigned int tr\+\_\+ssh\+\_\+config\+::port}

\Hypertarget{structtr__ssh__config_ad4336c509bc08b2c8808ea18a17ecf2d}\label{structtr__ssh__config_ad4336c509bc08b2c8808ea18a17ecf2d} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!server\_hostkey\_path@{server\_hostkey\_path}}
\index{server\_hostkey\_path@{server\_hostkey\_path}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{server\_hostkey\_path}{server\_hostkey\_path}}
{\footnotesize\ttfamily char\texorpdfstring{$\ast$}{*} tr\+\_\+ssh\+\_\+config\+::server\+\_\+hostkey\+\_\+path}

\Hypertarget{structtr__ssh__config_ad4e82515d60ba34130b1f098a5d352d9}\label{structtr__ssh__config_ad4e82515d60ba34130b1f098a5d352d9} 
\index{tr\_ssh\_config@{tr\_ssh\_config}!username@{username}}
\index{username@{username}!tr\_ssh\_config@{tr\_ssh\_config}}
\doxysubsubsection{\texorpdfstring{username}{username}}
{\footnotesize\ttfamily char\texorpdfstring{$\ast$}{*} tr\+\_\+ssh\+\_\+config\+::username}



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
rtrlib/transport/ssh/\mbox{\hyperlink{ssh__transport_8h}{ssh\+\_\+transport.\+h}}\end{DoxyCompactItemize}
