n8n-nodes-customssh
Version:
n8n community node for advanced SSH connections with configurable ciphers and network device support
31 lines (30 loc) • 653 B
TypeScript
export interface CommandResult {
command: string;
output: string;
exitCode: number | null;
}
export interface SshExecutionResult {
success: boolean;
output?: string;
exitCode?: number | null;
error?: string;
cipher?: string;
results?: CommandResult[];
}
export interface FileTransferResult {
success: boolean;
filePath: string;
fileSize: number;
error?: string;
}
export interface ConfigBackupResult {
success: boolean;
config?: string;
filePath?: string;
error?: string;
}
export interface ConfigRestoreResult {
success: boolean;
linesApplied: number;
errors: string[];
}