Skip to content

node-scp ​

Copy files to and from SSH servers over SFTP or SCP.

ts
import { connect } from 'node-scp';

await using client = await connect({ host: 'example.com', username: 'deploy', privateKey });
await client.upload('./dist', '/var/www/app', { recursive: true });

Modules ​

Classes ​

Interfaces ​

Type Aliases ​

Variables ​

Functions ​

Released under the MIT License.