ssh auto-forward?
Posted
by Jakobud
on Server Fault
See other posts from Server Fault
or by Jakobud
Published on 2010-03-30T17:43:34Z
Indexed on
2010/03/30
17:53 UTC
Read the original article
Hit count: 480
ssh
I'm not sure if there is a specific name for this type of activity or not, but anyways:
When a user ssh's into machine1, is there someway to force them to automatically ssh to machine2?
For example, if user Bob ssh's into server1, can you set something up on server1 so that when Bob successfully logs in, he automatically ssh's to server2, so that he only has access to server2 and isn't really able to do anything on server1? Also, when he exits, it would disconnect him from server2 but also server1.
Does that make sense? Is that possible?
© Server Fault or respective owner