jwir3 / jwir3/gulp-ssh-deploy

Feature request: rely on the ssh configuration [optionaly]

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I may have something like that in my
**~/.ssh/config**
```ssh
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.