I have two servers: server1 and server2 I can connect to server2 only from server1 by a specific user. Currently, I connect like this:
- My computer
- On server1:
su - user2
- After this on server1
How can I do use one command line from my computer?