Skip to content

docs(migration-from-v7): fix webpod ssh example#1488

Open
KirtiRamchandani wants to merge 2 commits into
google:mainfrom
KirtiRamchandani:docs/fix-ssh-migration-example-1480
Open

docs(migration-from-v7): fix webpod ssh example#1488
KirtiRamchandani wants to merge 2 commits into
google:mainfrom
KirtiRamchandani:docs/fix-ssh-migration-example-1480

Conversation

@KirtiRamchandani

Copy link
Copy Markdown

Fixes #1480

Corrects the v7→v8 migration example for ssh after the API moved to webpod. ssh() expects an options object, not a user@host string.

-const remote = ssh('user@host')
+const remote = ssh({remoteUser: 'user', hostname: 'host'})
  • Docs: updated docs/migration-from-v7.md
  • Sign: commit is SSH-signed
  • CoC: follows project guidelines

cc @antongolub for docs review

The inline comment incorrectly showed foo.txt even though tmpfile()
joins the provided name verbatim under the temp directory.
webpod's ssh() expects an options object with remoteUser and hostname,
not a user@host connection string.

Fixes google#1480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(migration-from-v7): ssh example does not work

1 participant