On Sat, 4 Jul 2015, Peng Yu wrote: > I tried the following command. > > ssh -Y -t intermediate -- ssh -Y dest > > But it shows the following error message. Does anybody know how to fix > the problem? Thanks. ssh -oProxyCommand="ssh -W %h:%p intermediate" -Y dest should work -d