Releasing a connection

Top  Previous  Next

To disconnect from an SSH server, invoke the Scp#disconnect method.  You should always disconnect from the SSH server when ending your session.

 

Example

 

// disconnect from SSH server

scp.disconnect();

 

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC