#include #include #include #include #include int main( int argc, char** argv ) { try { if( argc < 3 ) { fc::cout<>pw; fc::ssh::client c; c.connect( "dlarimer", pw, "localhost" ); c.scp_send( argv[1], argv[2] ); } catch ( ... ) { wlog( "%s", fc::except_str().c_str() ); } return 0; }