I know this may sound a bit silly, but I was playing around with executing a command via ssh and starting trying to ssh from server A into server B and then into C all on a single command?
ex:
Code:
$ ssh userB@serverB 'ssh userC@serverC'
this presented me with the expect p/w prompt for server B, but failed to execute the ssh into server C. I also tried with -t, but that was definitely not what i am looking for.
im not even sure this is doable, so thanks in advance.