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

Allow non-interactive ssh-add #27

Open
L1so opened this issue Dec 10, 2022 · 0 comments
Open

Allow non-interactive ssh-add #27

L1so opened this issue Dec 10, 2022 · 0 comments

Comments

@L1so
Copy link

L1so commented Dec 10, 2022

I want to put this as bash aliases, but I don't see any option to omit interactive question.

$ ssh-config add "cvps" HostName=192.168.140.1 Port=22 User=chris IdentityFile=""
Host cvps
    HostName 192.168.140.1
    User chris
    Port 22

Information is correct ? [y/N]: y
Added!
$

You should add --yes so one don't have to manually press y. Thanks ! Great program overall

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