You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the ssh call generated by platform tunnel:single with option --gateway-ports is incorrect.
Here is the failing call :
$ /usr/bin/platform tunnel:single -vvv --gateway-ports --app=myapp --environment=master --project=myproject
DEBUG Determined CA bundle path: /etc/ssl/certs/ca-certificates.crt
DEBUG Loaded project from cache: myproject
Selected project: projectx (myproject)
DEBUG Loaded environments from cache
Selected environment: master (type: production)
DEBUG Loaded environment deployment from cache for environment: master
Selected app: myapp
DEBUG Selected host: myproject-master-someid--myapp@ssh.eu-x.platform.sh
Are you sure you want to open an SSH tunnel to the relationship database on the environment master (type: production)? [Y/n] y
Validated SSH configuration include file: /home/user/.platformsh/ssh/host-keys
Validated SSH configuration include file: /home/user/.platformsh/ssh/host-keys.config
Process started: 'ssh' '-n' '-N' '-L' '30000:database.internal:3306' 'myproject-master-someid--myapp@ssh.eu-x.platform.sh' '-o' 'SendEnv TERM' '-o' 'LogLevel DEBUG' '-o' 'CertificateFile /home/user/.platformsh/.session/sess-cli-default/ssh/id_ed25519-cert.pub' '-o' 'IdentityFile /home/user/.platformsh/.session/sess-cli-default/ssh/id_ed25519' '-o' 'IdentitiesOnly yes' '-o' 'UserKnownHostsFile ~/.ssh/known_hosts ~/.ssh/known_hosts2 /home/user/.platformsh/ssh/host-keys' '-o' 'yes'
command-line line 0: no argument after keyword "yes"
command-line line 0: no argument after keyword "yes"
I asked ChatG and it thinks that :
In SSH command syntax, -o is used to specify options in the format -o OptionName=value, but 'yes' appears to be provided as an option without a corresponding OptionName, leading to a syntax error in the SSH command.
The text was updated successfully, but these errors were encountered:
It looks like the
ssh
call generated byplatform tunnel:single
with option--gateway-ports
is incorrect.Here is the failing call :
I asked ChatG and it thinks that :
The text was updated successfully, but these errors were encountered: