-1

so far I use a two step ssh tunnelling.

ssh -X username@server.de

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 user@server.de
Uwe.Schneider
  • 1,112
  • 1
  • 15
  • 28

1 Answers1

0

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.