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

Feature request: rely on the ssh configuration [optionaly] #26

Open
coffebar opened this issue Nov 17, 2022 · 0 comments
Open

Feature request: rely on the ssh configuration [optionaly] #26

coffebar opened this issue Nov 17, 2022 · 0 comments

Comments

@coffebar
Copy link

I may have something like that in my
~/.ssh/config

Host topsite
    HostName 77.7.1.135
    User coffebar
    Port 2221
    IdentityFile ~/.ssh/id_rsa_coffebar
    ProxyJump office
    ...

So i can connect to server with all this options by typing
ssh topsite
or I can use
scp localfile.txt topweb:/var/www/remote_dir/

There are no secrets and details in scripts to upload something, except remote path.

But in this plugin options like "username" are required to be hard-coded.
It will be better if not.

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