Sample Header Ad - 728x90

ssh via multiple hosts

40 votes
4 answers
13302 views
To get to my machine in my office, at the moment I am doing this: me@home:~$ ssh unix.university.com me@unix:~$ ssh unix.department.univeristy.com me@unix.department:~$ ssh office-machine.department.university.com me@office-machine:~$ echo "This is very annoying" Is there an easy way of automating this process, perhaps a single command that I can use at my end?
Asked by Lucas (1447 rep)
Nov 21, 2011, 02:46 AM
Last activity: Jun 7, 2023, 06:27 PM