so far I use a two step ssh tunnelling.
ssh -X [email protected]
ssh -KX your_pc_name
Is it possible to combine those two commands into one command? For different applications I need something like
ssh -options [email protected]
so far I use a two step ssh tunnelling.
ssh -X [email protected]
ssh -KX your_pc_name
Is it possible to combine those two commands into one command? For different applications I need something like
ssh -options [email protected]
Take a look at the expect, maybe will help you. You can create a script that runs commands on the remote machine. Take a look at this answer.