copySshKeyCommand method

  1. @override
List<String> copySshKeyCommand({
  1. required String filePath,
  2. required bool ipv6,
  3. required String targetDevice,
})
override

Implementation

@override
List<String> copySshKeyCommand({
  required String filePath,
  required bool ipv6,
  required String targetDevice,
}) {
  return [
    'ssh-copy-id',
    if (ipv6) '-6',
    '-f',
    '-i',
    filePath,
    targetDevice,
  ];
}