diff --git a/docs/balena-cli.md b/docs/balena-cli.md index 66198a97..6f3730c8 100644 --- a/docs/balena-cli.md +++ b/docs/balena-cli.md @@ -1982,7 +1982,7 @@ force action if the update lock is set ### Aliases -- `ssh` +- `ssh` *(deprecated)* To use one of the aliases, replace `device ssh` with the alias. diff --git a/src/commands/device/ssh.ts b/src/commands/device/ssh.ts index 1268ebf5..0469e5fa 100644 --- a/src/commands/device/ssh.ts +++ b/src/commands/device/ssh.ts @@ -25,6 +25,7 @@ import { export default class DeviceSSHCmd extends Command { public static aliases = ['ssh']; + public static deprecateAliases = true; public static description = stripIndent` Open a SSH prompt on a device's host OS or service container.