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

Does VCL allows me to use ssh? #99

Closed
PorcoRosso85 opened this issue Mar 2, 2022 · 3 comments
Closed

Does VCL allows me to use ssh? #99

PorcoRosso85 opened this issue Mar 2, 2022 · 3 comments

Comments

@PorcoRosso85
Copy link

PorcoRosso85 commented Mar 2, 2022

I tried this command.

let cmdline_app = {}
let cmdline_app['python'] = 'ssh [mylogin@remote.machine.com](mailto:mylogin@remote.machine.com) python'

This command run well.
As image tells us, VCL could connect external session ( ssh )

image

but if ssh needs password to enter, vimcmdline seems not to allow me enter it
VCM allows me to do these?
1, to use ssh public key connection? if ok, we don't need password
2, to enter password to .vimrc or init.vim? if ok, we don't have to enter it manually, but danger to security
3, to prepare making neovim's terminal mode be logged in already? as write next, I tried preparing neovim's terminal logged in before start vimcmdline, but it seems to be not good

What I want is to connect ssh session because ssh session has good machine resource.
But I don't want to run NeoVim in ssh because of overhead.
I want to run neovim ( session A, I'm here ) and want only to send code to ssh ( external session B ) for talking with interpreter .
So, I'm happy if VCL can send codes unit|block to external session like ssh.

@jalvesaq
Copy link
Owner

jalvesaq commented Mar 2, 2022

I have never seriously used ssh, but, as far as I know, public key authentication is considered more secure and convenient than password authentication.

@PorcoRosso85
Copy link
Author

Hi, thanks for your reply.
Do you mean that VCL will not require me if I already set ssh key pair to both host | server and client ( session A, this terminal )?

@jalvesaq
Copy link
Owner

jalvesaq commented Mar 4, 2022

I guess so. But, I have no experience with ssh public key authentication. I don't know how you should configure your systems.

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

2 participants