I want to have something like this:
#!/bin/bash
ssh 10.0.0.1
vncviewer
However, I want "vncviewer" command to be launched at the same time, and so that it does not interrupt with SSH asking me for password.
I want to have something like this:
#!/bin/bash
ssh 10.0.0.1
vncviewer
However, I want "vncviewer" command to be launched at the same time, and so that it does not interrupt with SSH asking me for password.
If your goal is to run vncviewer on the local machine, but only after you have entered your password for ssh, you can make a conditional link between the two commands
ssh 10.0.0.1 && vncviewer