Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape attributes in ssh parameters #1032

Open
Closius opened this issue Mar 1, 2024 · 0 comments
Open

Escape attributes in ssh parameters #1032

Closius opened this issue Mar 1, 2024 · 0 comments

Comments

@Closius
Copy link

Closius commented Mar 1, 2024

I'm trying this (Window 10 mingw):

/c/Python399/Scripts/pytest.exe -d --rsyncdir /d/my_test/remote_test --tx 'ssh=-F/d/my_test/remote_test/ssh_config myvmmachine//python=/usr/bin/python3.6//chdir=~/my_py_test' /d/my_test/remote_test/pytest_test.py

And I got this error:

ssh: Could not resolve hostname myvmmachine/python=/usr/bin/python3.6/chdir=~/my_py_test: Name or service not known

If I run it without //python=/usr/bin/python3.6//chdir=~/my_py_test - it works fine. But I need it. Please help

ssh confog file /d/my_test/remote_test/ssh_config:

Host myvmmachine
  HostName 127.0.0.1
  User mydev
  Port 33556
  LogLevel DEBUG3
  IdentityFile ~/.ssh/my_rsa
@Closius Closius changed the title Escape attributes in ssh command Escape attributes in ssh parameters Mar 1, 2024
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

No branches or pull requests

1 participant