fix
This commit is contained in:
parent
69114cabd7
commit
c9e31c9656
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ int main( int argc, char** argv ) {
|
||||||
// fc::string pw;
|
// fc::string pw;
|
||||||
// std::cin>>pw;
|
// std::cin>>pw;
|
||||||
fc::ssh::client c;
|
fc::ssh::client c;
|
||||||
c.connect( "dlarimer", "yyRK@$p9", "localhost" );
|
c.connect( "dlarimer", "", "localhost" );
|
||||||
fc::ssh::process proc = c.exec( "/bin/ls" );
|
fc::ssh::process proc = c.exec( "/bin/ls" );
|
||||||
while( !proc.out_stream().eof() ) {
|
while( !proc.out_stream().eof() ) {
|
||||||
fc::string line;
|
fc::string line;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue