KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my shell script I am running a command which is asking me for input. How can I give the command the input it needs automatically? For example: $cat test.sh ssh-copy-id tester@10.1.2.3 When running test.sh: First, it will ask: Are you sure you want to continue connecting (yes/no)? Then, it will ask me to input the password: tester@10.1.2.3's password: Is there a way to input this automatically?
Tags (comma-separated)
Save Edits
Cancel